VTOD()

From Lianjapedia
Revision as of 08:48, 8 October 2019 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to convert OpenVMS dates to Lianja dates

Syntax

VTOD(<expC>)

See Also

AMPM(), CDOW(), CMONTH(), CTOD(), CTOT(), DATE(), DATETIME(), DAY(), DAYS(), DMY(), DOW(), DTOA(), DTOC(), DTOM(), DTOS(), DTOT(), DTOV(), ELAPTIME(), EMPTY(), EPOCH(), GOMONTH(), HOUR(), HOURS(), ISLEAPYEAR(), LEAPYEARS(), LTOS(), MDY(), MINUTE(), MINUTES(), MONTH(), MTOD(), MTOS(), QUARTER(), SEC(), SECONDS(), SECS(), SET CENTURY, SET DATE, SET EPOCH, SET HOURS, SET MARK, SET SECONDS, STOD(), STOT(), STR(), STRFTIME(), TIME(), TIMEOFDAY(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), TYPE(), VAL(), VALIDTIME(), 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