El DateStr

From MultiCharts
Revision as of 12:09, 19 January 2012 by 194.84.116.138 (talk) (Created page with "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 i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.