CurrentDate

From MultiCharts
Jump to navigation Jump to search

Returns a numerical value indicating the computer's current date. The date is indicated in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.

For example, the value returned for the date of October 30th, 2008 will be 1081030.

Usage

CurrentDate

Notes

  • Use Date to get the date of a bar.

Example

Print(CurrentDate);

Will return a value of 1081030 if the current date is October 30th, 2008.

Related articles