[Gambas-user] forcing time zone localization
Kevin Fishburne
kevinfishburne at ...1887...
Tue Feb 5 06:19:12 CET 2013
On 02/03/2013 08:11 AM, Benoît Minisini wrote:
> Le 03/02/2013 14:03, Benoît Minisini a écrit :
>> To get the current timezone, you do Round(Frac(Date(Now)) * 24). Then
>> you can use this value to convert a date to/from UTC.
>>
>> Regards,
>>
> So scatterbrained... I have added System.TimeZone property for a while.
> It returns the interval with UTC in seconds (for example, -3600 in
> France currently).
>
> Regards,
>
Ian and Benoît, thank you very much. I now have sufficient ammo to load
my magazine. ;)
--
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271
More information about the User
mailing list