| [Overview][Constants][Procedures and functions][Index] | 
Encodes a year and day of year to a DateTime value
Source position: dateutil.inc line 322
| function EncodeDateDay( | 
| const AYear: Word; | 
| const ADayOfYear: Word | 
| ):TDateTime; | 
| AYear | 
 | Year part. | 
| ADayOfYear | 
 | Day of the year part | 
DateTime value representing the date specified by AYear and ADayOfYear.
EncodeDateDay encodes the values AYear and ADayOfYear to a date value and returns this value.
For an example, see DecodeDateDay.
If any of the arguments is not valid, then an EConvertError exception is raised.
| 
 | Encodes a year, month, week of month and day of week to a DateTime value | |
| 
 | Decode a DateTime value in year and year of day. | |
| 
 | Encodes a DateTime value from all its parts | |
| 
 | Encode a TDateTime value from a year, week and day of week triplet | |
| 
 | Encode a Year, Month, Day, Hour, minute, seconds, milliseconds tuplet to a TDateTime value | |
| 
 | Encode a year, month, week of month and day of week to a TDateTime value | |
| 
 | Encode a year, week and day of week triplet to a TDateTime value |