[Gambas-user] Different quantities of seconds from UNIX date...
Gianluigi
bagonergi at gmail.com
Mon Apr 9 19:39:46 CEST 2018
2018-04-09 19:05 GMT+02:00 Benoît Minisini <g4mba5 at gmail.com>:
> Le 09/04/2018 à 13:47, Benoît Minisini a écrit :
>
>> Le 09/04/2018 à 11:00, Gianluigi a écrit :
>>
>>>
>>> Hi Benoit,
>>> Now both functions return + 4 hours compared to UTC time.
>>> Here in Italy + 2 hours as daylight saving time is in effect
>>>
>>> So I insist, for me ToUnixTime before was correct and the error is in
>>> DateDiff
>>> Regards
>>> Gianluigi
>>>
>>>
>> I confirm the bug, but it is not in DateDiff(), which is a very
>> rudimentary function. It's elsewhere, but I didn't find yet!
>>
>>
> OK, I think I fixed it in commit https://gitlab.com/gambas/gamb
> as/commit/de12caa1e784ba956bcf0e15a3b6efdc3cbe0c13.
>
> You will tell me.
>
> Regards,
>
> --
> Benoît Minisini
>
>
Ok,
now I get the correct UTC time from both functions (also from the function
of vuott).
Thank you very much
Regards
Gianluigi
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180409/fd49d801/attachment.html>
More information about the User
mailing list