Difference between revisions of "VTOD()"

From Lianjapedia
Jump to: navigation, search
(See Also)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to convert OpenVMS dates to Recital dates
+
Function to convert OpenVMS dates to Lianja dates
  
 
==Syntax==
 
==Syntax==
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[CDOW()]], [[CMONTH()]], [[CTOD()]], [[DATE()]], [[DAY()]], [[DMY()]], [[DOW()]], [[DTOC()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[MONTH()]], [[STOD()]], [[TIME()]], [[WEEK()]], [[YEAR()]]
+
[[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==
 
==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.
+
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==
 
==Example==
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]]

Latest revision as of 08:48, 8 October 2019

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