That really can’t be a problem… use “IncMinute” instead. ☺

==================================================
IncMinute function

Returns a date/time value shifted by a specified number of minutes.

Unit
DateUtils

Category
date/time routines

function IncMinute(const AValue: TDateTime; const ANumberOfMinutes: Int64 = 1): 
TDateTime;

Description
IncMinute returns the value of the AValue parameter, incremented by 
ANumberOfMinutes minutes. ANumberOfMinutes can be negative, to return a date 
and time N minutes prior to AValue.

==================================================

Greetz,

Peter.

________________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of 
jumpsfromplanes
Sent: vrijdag 6 augustus 2010 1:57
To: [email protected]
Subject: [delphi-en] Re: Converting local to UTC time

  
That is not a solution that works with all timezones. A number of
timezones have 30 minute offsets.

Venezuela <http://news.bbc.co.uk/2/hi/americas/7134927.stm> is a
recent glaring example. In the free world, Australia has a number of 30
minute offset timezones. Norfolk Island and Newfoundland also have 30
minute offsets
<http://www.timeanddate.com/library/abbreviations/timezones/> .

Best regards,

Kevin G. McCoy

--- In [email protected], "Peter Luijer" <p.lui...@...> wrote:
>
> You could just as well use the "IncHour"-function from the DateUtils
unit :)

Reply via email to