CurrentDate: Difference between revisions
From MultiCharts
m
no edit summary
(→Usage) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
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. | 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. | For example, the value returned for the date of October 30th, 2008 will be 1081030. | ||
== Usage == | |||
<syntaxhighlight>CurrentDate</syntaxhighlight> | <syntaxhighlight>CurrentDate</syntaxhighlight> | ||
== | == Notes == | ||
* Use [[Date]] to get the date of a bar. | |||
== Example == | |||
<syntaxhighlight>Print(CurrentDate);</syntaxhighlight> | |||
Will return a value of 1081030 if the current date is October 30th, 2008. | |||
== Related articles == | |||
* [[Outputting_Dates_in_EasyLanguage|Outputting Dates in EasyLanguage]] | |||
[[Category:Date and Time Routines]] | [[Category:Date and Time Routines]] |