Difference between revisions of "VTOD()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to convert OpenVMS dates to Recital dates | Function to convert OpenVMS dates to Recital dates | ||
− | |||
==Syntax== | ==Syntax== | ||
VTOD(<expC>) | VTOD(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[CDOW()]], [[CMONTH()]], [[CTOD()]], [[DATE()]], [[DAY()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[MONTH() | + | [[CDOW()]], [[CMONTH()]], [[CTOD()]], [[DATE()]], [[DAY()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[MONTH()]], [[STOD()]], [[TIME()]], [[WEEK()]], [[YEAR()]] |
− | + | ||
==Description== | ==Description== | ||
− | The VTOD() function converts VAXdates to Recital dates so that date arithmetic can be performed. The resulting date conforms to the current settings of SET DATE, SET CENTURY and SET MARK. <expC> must be an 11 character string containing a VAXdate in the format DAY-MONTH-YEAR. | + | The VTOD() function converts VAXdates to Recital dates so that date arithmetic can be performed. The resulting date conforms to the current settings of SET DATE, SET CENTURY and SET MARK. <expC> must be an 11 character string containing a VAXdate in the format DAY-MONTH-YEAR. |
− | + | ||
==Example== | ==Example== | ||
Line 21: | Line 17: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 11:22, 9 February 2012
Contents
Purpose
Function to convert OpenVMS dates to Recital dates
Syntax
VTOD(<expC>)
See Also
CDOW(), CMONTH(), CTOD(), DATE(), DAY(), DMY(), DOW(), DTOC(), DTOS(), DTOV(), MDY(), MONTH(), STOD(), TIME(), WEEK(), YEAR()
Description
The VTOD() function converts VAXdates to Recital dates so that date arithmetic can be performed. The resulting date conforms to the current settings of SET DATE, SET CENTURY and SET MARK. <expC> must be an 11 character string containing a VAXdate in the format DAY-MONTH-YEAR.
Example
? vtod("17-MAY-1990")+7 05/24/1990