Difference between revisions of "El DateStr"

From MultiCharts
Jump to navigation Jump to search
Line 11: Line 11:
 
   
 
   
 
==== Example ====
 
==== Example ====
<syntaxhighlight>El_DateStr(02,04,2008) will return the string "20080402",  
+
<syntaxhighlight>El_DateStr(02,04,2008) will return the string "20080402", corresponding to the specified  
corresponding to the specified date of April 2nd, 2008.</syntaxhighlight>
+
date of April 2nd, 2008.</syntaxhighlight>
  
  

Revision as of 13:49, 19 January 2012

Returns an 8-character numerical string corresponding to the specified date. The string is in the yyyyMMdd format, where yyyy is the four-digit year, MM is the month, and dd is the day of the month.

Usage

El_DateStr(dd, MM, yyyy)

Where: dd - a numerical expression specifying the day of the month

MM - a numerical expression specifying the month

yyyy - a four-digit numerical expression specifying the year

Example

El_DateStr(02,04,2008) will return the string "20080402", corresponding to the specified 
date of April 2nd, 2008.