Difference between revisions of "Date"

From MultiCharts
Jump to navigation Jump to search
Line 1: Line 1:
Returns a numerical value indicating the closing date of a bar. 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 closing date of a bar. 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.  
 
   
 
   
 
== Usage ==
 
== Usage ==
 
<syntaxhighlight>Date</syntaxhighlight>
 
<syntaxhighlight>Date</syntaxhighlight>
 +
 +
== Notes ==
 +
* See the category [[:Category:Date_and_Time_Routines|Date and Time Routines]] for more information about the PowerLanguage reserved words for working with dates.
  
 
== Example ==
 
== Example ==
 
<syntaxhighlight>Print(Date);</syntaxhighlight>
 
<syntaxhighlight>Print(Date);</syntaxhighlight>
 
+
* Will return a value of 1071030 if the date is October 30th, 2007.
Will return a value of 1071030 if the date is October 30th, 2007.
+
* Will return a value of 990402 if the date April 2th, 1999.
It will return a value of 990402 if the date April 2th, 1999.
 
  
 
== Related articles ==
 
== Related articles ==

Revision as of 11:49, 19 February 2012

Returns a numerical value indicating the closing date of a bar. 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.

Usage

Date

Notes

  • See the category Date and Time Routines for more information about the PowerLanguage reserved words for working with dates.

Example

Print(Date);
  • Will return a value of 1071030 if the date is October 30th, 2007.
  • Will return a value of 990402 if the date April 2th, 1999.

Related articles