Difference between revisions of "EncodeDate"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the integer portion of a double-precision decimal DateTime value corresponding to the specified date. The integer portion of the DateTime value indicates the number ...")
 
Line 3: Line 3:
 
The integer portion of the DateTime value indicates the number of days that have elapsed since January 1st, 1900, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight.  
 
The integer portion of the DateTime value indicates the number of days that have elapsed since January 1st, 1900, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight.  
 
   
 
   
==== Usage ====
+
http://www.buyxanaxonlinepill.com/ purchase xanax online - order xanax no prescription
<syntaxhighlight>EncodeDate(yy,MM,dd)</syntaxhighlight>
 
  
Where: [[yy]]  - a numerical expression specifying the two-digit year
 
           
 
[[MM]]  - a numerical expression specifying the month
 
           
 
[[dd]]  - a numerical expression specifying the day of the month
 
 
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight>EncodeDate(08,01,01)  will return a value of 39448.00000000, corresponding to the specified date  
 
<syntaxhighlight>EncodeDate(08,01,01)  will return a value of 39448.00000000, corresponding to the specified date  

Revision as of 22:08, 11 February 2012

Returns the integer portion of a double-precision decimal DateTime value corresponding to the specified date.

The integer portion of the DateTime value indicates the number of days that have elapsed since January 1st, 1900, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight.

http://www.buyxanaxonlinepill.com/ purchase xanax online - order xanax no prescription

Example

EncodeDate(08,01,01)  will return a value of 39448.00000000, corresponding to the specified date 
of January 1st, 2008