TDateTime from 12 december 1899; whi? lazarus / 8-Other ---------------------------------------------------------------------- corradoventu · 2017-01-15 14:49 in: https://www.daniweb.com/programming/software- development/threads/103675/tutorial-handling-dates-and-time-in-delphi i find: Delphi 2.0 and later supply the TDateTime format, which is actually a floating point number (stored as a IEEE double) containing the number of days that have passed since 12 December 1899. why 12 December 1899? this date has a special meaning? thanks. ---------------------------------------------------------------------- rvk · 2017-01-15 14:56 That's a big error in that article. It should be 30 december 1899. My guess is that somebody misread 12/30/1899 as 12 december (which it is not) but because in lots of Europe it is written as 30/12/1899 they thought the first digit was the day. See the manual of Delphi. QuoteThe integral part of a System::TDateTime value is the number of days that have passed since 12/30/1899. The fractional part of a System::TDateTime value is the time of day. Originally it should have been 31th but because of some misconception about 1900 being a leap-year (which it is not) it eventuelly became 30th december. See explanation here: http://www.delphibasics.co.uk/RTL.asp?Name=TDateTime ---------------------------------------------------------------------- wp · 2017-01-15 14:58 No, it's not Dec 12 1899, but Dec 30 1899. See the discussion in http://forum.lazarus.freepascal.org/index.php/to pic,34274.msg224211.html#msg224211. ---------------------------------------------------------------------- molly · 2017-01-15 15:08 And in case it was not clear why jan 1st 1900 is such an *hmz* important date, woosh !