Difference between revisions of "CurrentDate"
Jump to navigation
Jump to search
m |
|||
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. | ||
Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
<syntaxhighlight>CurrentDate</syntaxhighlight> | <syntaxhighlight>CurrentDate</syntaxhighlight> | ||
+ | |||
+ | == Notes == | ||
+ | * Use [[Date]] to get the date of a bar. | ||
== Example == | == Example == |
Latest revision as of 12:23, 19 February 2012
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.
Contents
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.