default date or null date lazarus / 21-General ---------------------------------------------------------------------- andersonscinfo · 2024-07-06 10:57 Hi, I remember that the null date or when a date is not passed it assumes 0 or 01-12-1899 or something like that, I noticed a strange behavior, my dates when I don't pass anything comes with the year 9999, print attached, you can be something I did? ---------------------------------------------------------------------- Thaddy · 2024-07-06 11:47 Not that strange, because you are trying to compile for linux and windows: Unix time starts from 1.1.1970/00.00, the pivot. Windows time starts from 12/31/1899/23.59  (and that is indeed an error) or on modern Windows 1/1/1601/00:00 you can convert the two if you store or memorize this constant, which is the time difference in nano seconds: 116444736000000000 Given the number of zero's and the four's easy to remember. ---------------------------------------------------------------------- andersonscinfo · 2024-07-06 11:53 ik, thank you. Att.