Progress
Language Reference
DAY Function
Converts a date to a day of the month integer value from 1 to 31, inclusive.
SYNTAX
date
An expression whose value is a date.
EXAMPLEThis procedure determines the date one year from a given date, allowing for leap years. You could simply determine a date 365 days later by adding 365 to the d1 variable, but that might not produce the correct result (for example, 1/1/92 + 365 days is 12/31/92).
SEE ALSO
DATE Function, MONTH Function, TODAY Function, WEEKDAY Function, YEAR Function
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |