RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.MilliSecondOfTheYear Function

Returns the number of milliseconds between a specified TDateTime value and 12:00:00:00 AM of the first day of the year.

Pascal
function MilliSecondOfTheYear(const AValue: TDateTime): Int64;
C++
Int64 MilliSecondOfTheYear(const TDateTime AValue);

DateUtils

Call MilliSecondOfTheYear to obtain the number of milliseconds between AValue and 12:00:00:00 AM on Jan 1 of the year that includes AValue. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!