[DUG] DateTimePicker
John Bird
johnkbird at paradise.net.nz
Wed Jun 30 11:22:21 NZST 2010
It looks like D5 does not have DateOf, but the Trunc function works fine (with a comment of why). Thanks for Jolyon for the description of the oddities of this control - it looks like he has been bitten by this oddity and knows it well!
John
DateOf() is nothing more than a wrapper for Trunc(TheDate) but I like to use it becuase then you know what its doing :-) BTW TimeOf(TheDate) returns only the time portion of a date/time and is just a wrapper for Frac(TheDate). Once agai I use this so I know what the code is doing.
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100630/1b50bee4/attachment-0001.html
More information about the Delphi
mailing list