VTOD()

From Recital Documentation Wiki
Revision as of 14:28, 20 March 2009 by Yvonnemilne (Talk | contribs)

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

VTOD()

Class

Expressions and Type Conversion


Purpose

Function to convert OpenVMS dates to Recital dates


Syntax

VTOD(<expC>)


See Also

DTOV(), SET VAXTIME, DAY(), CDOW(), CTOD(), CMONTH(), DATE(), DOW(), DTOC(), MONTH(), TIME(), WEEK(), YEAR(), STOD(), DTOS(), DMY(), MDY()


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. SET VAXTIME must be off, so that no time-string is included.


Example

? vtod("17-MAY-1990")+7
05/24/1990


Products

All OpenVMS