Am 27.05.2015 09:19 schrieb "Michael Van Canneyt" <mich...@freepascal.org>: > > > > On Wed, 27 May 2015, Sven Barth wrote: > >> >> Am 26.05.2015 15:28 schrieb "Michael Schnell" <mschn...@lumino.de>: >> > >> > On 05/26/2015 01:30 PM, Juha Manninen wrote: >> >> >> >> Is there some convention how to show a date value "0"? >> >> By default it shows year 1899. The patch changed it to "?". >> >> >> > >> > Both funny, as DateTimeToStr(2.0) is "1-1-00" ;-) >> >> Why should that be funny? TDateTime(0.0) is defined as "12/30/1899 12:00 am". Now add two days and we are at "1/1/1900 12:00 am", so all is well... > > > Does 12:00 am actually exist ? If so, what is that ? Midnight or midday ? > Should not that be 00:00 am ? (or is that the same ?)
Honestly I don't know, as I simply copy-pasted the value mentioned by Mark, since I'm on mobile and thus a bit lazy ;) Regards, Sven
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus