Difference between revisions of "SET VAXTIME"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Toggle display of VAX date time string | Toggle display of VAX date time string | ||
Line 15: | Line 8: | ||
==See Also== | ==See Also== | ||
− | CREATE BRIDGE, DTOV(), VTOD() | + | [[CREATE BRIDGE]], [[DTOV()]], [[VTOD()]] |
==Description== | ==Description== | ||
− | The SET VAXTIME command enables or disables display of the time string portion of a VAX date. VAX dates are most commonly used with the RMS Replaceable Database Driver (RMS Bridge). | + | The SET VAXTIME command enables or disables display of the time string portion of a VAX date. VAX dates are most commonly used with the [[RMS Data Files|RMS Replaceable Database Driver]] (RMS Bridge). |
This command allows the optional logical expression <expL> to be evaluated. If a value of .T. is returned, VAXTIME is set ON. If a value of .F. is returned, VAXTIME is set OFF. Note that <expL> should be enclosed in round brackets. By default, VAXTIME is OFF. | This command allows the optional logical expression <expL> to be evaluated. If a value of .T. is returned, VAXTIME is set ON. If a value of .F. is returned, VAXTIME is set OFF. Note that <expL> should be enclosed in round brackets. By default, VAXTIME is OFF. | ||
Line 25: | Line 18: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
dDate = {10/10/2002} | dDate = {10/10/2002} | ||
set vaxtime on | set vaxtime on | ||
? dtov(dDate) | ? dtov(dDate) | ||
− | + | 10-OCT-2002 00:00:00.00 | |
set vaxtime off | set vaxtime off | ||
? dtov(dDate) | ? dtov(dDate) | ||
− | + | 10-OCT-2002 | |
+ | </code> | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital (All OpenVMS only) |
+ | [[Category:Documentation]] | ||
+ | [[Category:Commands]] | ||
+ | [[Category:Set_Commands|VAXTIME]] | ||
+ | [[Category:Date and Time Data]] | ||
+ | [[Category:Date and Time Data Set Commands]] |
Latest revision as of 15:53, 25 November 2009
Purpose
Toggle display of VAX date time string
Syntax
SET VAXTIME ON | OFF | (<expL>)
See Also
Description
The SET VAXTIME command enables or disables display of the time string portion of a VAX date. VAX dates are most commonly used with the RMS Replaceable Database Driver (RMS Bridge).
This command allows the optional logical expression <expL> to be evaluated. If a value of .T. is returned, VAXTIME is set ON. If a value of .F. is returned, VAXTIME is set OFF. Note that <expL> should be enclosed in round brackets. By default, VAXTIME is OFF.
Example
dDate = {10/10/2002} set vaxtime on ? dtov(dDate) 10-OCT-2002 00:00:00.00 set vaxtime off ? dtov(dDate) 10-OCT-2002
Products
Recital Server, Recital (All OpenVMS only)