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)"? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." ------------------------------------------------------------------------------ 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
