Difference between revisions of "DayOfMonth"

From MultiCharts
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Returns a numerical value, indicating the day of the month of the specified date.  
 
Returns a numerical value, indicating the day of the month of the specified date.  
  
The date is specified 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.  
+
The date is specified 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.  
 
   
 
   
http://www.buyxanaxonlinepill.com/ buy xanax cheap no prescription - order xanax online overnight
+
== Usage ==
 +
<syntaxhighlight>DayOfMonth(YYYMMdd)</syntaxhighlight>
  
==== Example ====
+
Where:
<syntaxhighlight>DayOfMonth(1080101)  will return a value of 1, indicating the 1st day of the month of January, 2008
 
  
DayOfMonth(990605) will return a value of 5, indicating the 5th day of the month of June, 1999</syntaxhighlight>
+
:'''YYYMMdd''' - a numerical expression, specifying the date in YYYMMdd format.
 +
 +
== Examples ==
 +
<syntaxhighlight>DayOfMonth(1080101)</syntaxhighlight>
 +
Will return a value of 1, indicating the 1st day of the month of January, 2008.
 +
 
 +
<syntaxhighlight>DayOfMonth(990605)</syntaxhighlight>
 +
Will return a value of 5, indicating the 5th day of the month of June, 1999.
  
 +
<syntaxhighlight>DayOfMonth(CurrentDate)</syntaxhighlight>
 +
Will return a value of 19, indicating that today is the 19th day of the current month.
  
 
[[Category:Date and Time Routines]]
 
[[Category:Date and Time Routines]]

Latest revision as of 12:33, 19 February 2012

Returns a numerical value, indicating the day of the month of the specified date.

The date is specified 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

DayOfMonth(YYYMMdd)

Where:

YYYMMdd - a numerical expression, specifying the date in YYYMMdd format.

Examples

DayOfMonth(1080101)

Will return a value of 1, indicating the 1st day of the month of January, 2008.

DayOfMonth(990605)

Will return a value of 5, indicating the 5th day of the month of June, 1999.

DayOfMonth(CurrentDate)

Will return a value of 19, indicating that today is the 19th day of the current month.