Difference between revisions of "CurrentDate"

From MultiCharts
Jump to navigation Jump to search
Line 3: Line 3:
 
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 ====
+
== Usage ==
 
<syntaxhighlight>CurrentDate</syntaxhighlight>
 
<syntaxhighlight>CurrentDate</syntaxhighlight>
  
==== Example ====
+
== Example ==
<syntaxhighlight>CurrentDate]]  will return a value of 1081030 for October 30th, 2008</syntaxhighlight>  
+
<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]]

Revision as of 17:25, 27 January 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.

Usage

CurrentDate

Example

Print(CurrentDate);

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

Related articles