VTOD()

From Lianjapedia
Revision as of 07:32, 4 February 2013 by Helen.george (Talk | contribs)

Jump to: navigation, search

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