| DATA | Index Level | DCOUNT |
| Syntax | DATE() |
| Category | BASIC |
| Type | Function |
| Description |
returns the current system date in internal format, as an integer number representing the number of days which have elapsed since December 31, 1967 (day 0 on the Pick calendar).
The parentheses following the function are required, and must not contain arguments. Without the parentheses, "date" is assumed to be a variable. |
| Options | |
| See Also | functions d (date) |
| Example |
number.days = date() - invoice.date
This calculates the number of days elapsed between the value of invoice.date and the current system date. weeks.old = (date() - invoice.date) / 7 This calculates the number of weeks old. |
| Warnings | |
| Compatibility | D3 7.0 AP R83 |
| DATA | Index Level | DCOUNT |