Difference between revisions of "DTOV()"
From Lianjapedia
m (Text replace - "Recital" to "Lianja") |
|||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to convert | + | Function to convert Lianja dates to OpenVMS VAXdates |
==Syntax== | ==Syntax== | ||
Line 9: | Line 9: | ||
==Description== | ==Description== | ||
− | The DTOV () function converts | + | The DTOV () function converts Lianja dates to VAXdates. A VAXdate data type is a character string with a length of 23. The first 11 characters are the date in the format "DD-MMM-YYYY". The remaining characters are the optional time string of HH:MM:SS.00, which can be turned off with the SET VAXTIME command. Date arithmetic cannot be performed on VAXdates. |
{| class="wikitable" | {| class="wikitable" |
Revision as of 12:48, 7 December 2012
Contents
Purpose
Function to convert Lianja dates to OpenVMS VAXdates
Syntax
DTOV(<expD>)
See Also
CDOW(), CMONTH(), CTOD(), DATE(), DAY(), DMY(), DOW(), DTOC(), DTOS(), MDY(), MONTH(), STOD(), TIME(), VTOD(), WEEK(), YEAR()
Description
The DTOV () function converts Lianja dates to VAXdates. A VAXdate data type is a character string with a length of 23. The first 11 characters are the date in the format "DD-MMM-YYYY". The remaining characters are the optional time string of HH:MM:SS.00, which can be turned off with the SET VAXTIME command. Date arithmetic cannot be performed on VAXdates.
Parameters | Description |
---|---|
<expD> | The valid date to be converted to a VAXdate |
Example
? dtov({02/02/2000}+7) 9-FEB-2000 00:00:00.00