| [Overview][Constants][Procedures and functions][Index] | 
Encode a TDateTime value from a year, week and day of week triplet
Source position: dateutil.inc line 312
| function EncodeDateWeek( | 
| const AYear: Word; | 
| const AWeekOfYear: Word; | 
| const ADayOfWeek: Word | 
| ):TDateTime; | 
| const AYear: Word; | 
| const AWeekOfYear: Word | 
| ):TDateTime; | 
| AYear | 
 | Year part | 
| AWeekOfYear | 
 | Week of the year part | 
DateTime value representing AYear, AWeekOfYear and ADayOfWeek.
| AYear | 
 | Year part | 
| AWeekOfYear | 
 | Week of the year part | 
EncodeDateWeek encodes the values AYear, AWeekOfYear and ADayOfWeek to a date value and returns this value.
For an example, see DecodeDateWeek.
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 a week of year and day of week. | |
| 
 | Encodes a DateTime value from all its parts | |
| 
 | Encodes a year and day of year to a DateTime value | |
| 
 | Encode a Year, Month, Day, Hour, minute, seconds, milliseconds tuplet to a TDateTime value | |
| 
 | Encode a year, week and day of week triplet to a TDateTime value | |
| 
 | Encode a year, month, week of month and day of week to a TDateTime value |