Le 29/11/2014 01:32, T Lee Davidson a écrit :
> On 11/28/2014 07:24 PM, Benoît Minisini wrote:
>>
>> You're right, the tip is false, i.e. it works only when System.TimeZone
>> < 0, otherwise you have a 24h error. It was written before
>> System.TimeZone exist.
>>
>> So you must do that instead:
>>
>>      UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone)
>>
>> And the wiki must be fixed...
>
> I'd be glad to do that. But, would you like the Tip simply removed or
> modified re: "UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone)"?
>

Remove the tip, as it is false.

-- 
Benoît Minisini

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to