Returns the integer portion of a double-precision decimal DateTime value, corresponding to the specified date. The date is specified by a string expression "MM/dd/yy"* or "MM/dd/yyyy"*, where MM* is the month, dd* is the day, and yy or yyyy is a two-digit or four-digit year.
The integer portion of the DateTime value indicates the number of days that have elapsed since January 1st, 1900, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight.
- MM - month*
- dd - day of the month*
- yy - a two-digit year
- yyyy - a four-digit year
*: Described usage and examples are for the default US regional date format. If the default UK regional format is selected, the dates will be in dd/MM/yy and dd/MM/yyyy format instead. Date format is controlled by the Regional Options settings that can be accessed from the Control Panel of the Windows XP operating system.
Will return a value of 39448.00000000, corresponding to the specified date of January 1st, 2008.
Will return a value of 36254.00000000, corresponding to the specified date of April 4th, 1999.