RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.DecodeDateDay Function

Returns the year and day of the year for a specified TDateTime.

Pascal
procedure DecodeDateDay(const AValue: TDateTime; out AYear: Word; out ADayOfYear: Word);
C++
DecodeDateDay(const TDateTime AValue, Word AYear, Word ADayOfYear);

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!