Difference between revisions of "VTOD()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 19: Line 19:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Expressions and Type Conversion]]
+
[[Category:Formatting Functions]]
[[Category:Expressions and Type Conversion Functions]]
+
[[Category:Date and Time Data]]
+
 
[[Category:Date and Time Data Functions]]
 
[[Category:Date and Time Data Functions]]

Revision as of 07:32, 4 February 2013

Purpose

Function to convert OpenVMS dates to Lianja 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 Lianja 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