Returns the year and day of the year for a specified TDateTime.
procedure DecodeDateDay(const AValue: TDateTime; out AYear: Word; out ADayOfYear: Word);
DecodeDateDay(const TDateTime AValue, Word AYear, Word ADayOfYear);
DateUtils
DecodeDateDay returns the day of the year for a specified date/time value, along with the year in which that day occurs.
AValue is the date/time value about which you want information.
AYear returns the year that AValue represents.
ADayOfYear returns the day within AYear that AValue represents, where 1 is January 1.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|