[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date function


Il 05/11/25 18:41, Benoît Minisini ha scritto:
You didn't talked about databases in the initial email. Until now, I was just replied to that initial email and explained you what happens, and that is always behaved like that.

Database drivers were rewritten in Gambas 3.20, so you may have differences, but then this is unwanted.

Note that there is no date datatype in SQLite, and this is a problem per se.

What problem do you have exactly with that code?

Look at Edit and debug, change to Date(Now) and the table writes the previous day's date ('2025-11-04T230000Z'). Previously, as also written in the wiki, it saved the current date plus three copies of zeros to represent hours, minutes, and seconds.

Thank and regards
Gianluigi


Follow-Ups:
Re: Date functionBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
Date functionGianluigi <gradobag@xxxxxxxxxxx>
Re: Date functionBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Date functionGianluigi <gradobag@xxxxxxxxxxx>
Re: Date functionBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Date functionGianluigi <gradobag@xxxxxxxxxxx>
Re: Date functionBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>