×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

El DateStr

172 bytes added, 13:02, 19 February 2012
no edit summary
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 ====
<syntaxhighlight>El_DateStr(dd, MM, yyyy)</syntaxhighlight>
Where: [[dd]] - a numerical expression specifying the day of the month
[[:'''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 ==Notes ==<syntaxhighlight>El_DateStr(02,04,2008) will return * To have more control about the formatting of a date string "20080402", corresponding use [[FormatDate]].* Use [[StringToDate]] to convert a date string to the specified a numerical date of April 2nd, 2008value.</syntaxhighlight>
== Example == <syntaxhighlight>El_DateStr(02, 04, 2008)</syntaxhighlight>Will return the string "20080402", corresponding to the specified date of April 2nd, 2008.
[[Category:Date and Time Routines]]

Navigation menu