Difference between revisions of "VTOD()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
=VTOD()=
 
 
 
==Class==
 
Expressions and Type Conversion
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to convert OpenVMS dates to Recital dates
 
Function to convert OpenVMS dates to Recital dates
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[DTOV()]], [[SET VAXTIME]], [[DAY()]], [[CDOW()]], [[CTOD()]], [[CMONTH()]], [[DATE()]], [[DOW()]], [[DTOC()]], [[MONTH()]], [[TIME()]], [[WEEK()]], [[YEAR()]], [[STOD()]], [[DTOS()]], [[DMY()]], [[MDY()]]
+
[[CDOW()]], [[CMONTH()]], [[CTOD()]], [[DATE()]], [[DAY()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[MONTH()]], [[SET VAXTIME]], [[STOD()]], [[TIME()]], [[WEEK()]], [[YEAR()]]
  
  
Line 33: Line 26:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Expressions and Type Conversion]]
 +
[[Category:Expressions and Type Conversion Functions]]
 +
[[Category:Date and Time Data]]
 +
[[Category:Date and Time Data Functions]]

Latest revision as of 16:59, 28 October 2009

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


Example

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


Products

All OpenVMS