Progress
Language Reference
TODAY Function
Returns the current system date.
SYNTAX
EXAMPLE
This procedure prints the date in the first line at the top of each page of a report. Instead of using TODAY in the FORM statement, the procedure uses a variable to hold the date. This ensures that the same date appears on all pages of the report, even if this procedure runs through midnight.
PAGE-TOP frames are re-evaluated on every new page. Therefore, if you do not use a variable for the date, a different date is displayed on the following page(s) if the report starts before midnight and ends after midnight.
SEE ALSO
DATE Function, DAY Function, MONTH Function, TIME Function, WEEKDAY Function, YEAR Function
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |