Difference between revisions of "SET VAXTIME"

From Recital Documentation Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
CREATE BRIDGE, DTOV(), VTOD()
+
[[CREATE BRIDGE]], [[DTOV()]], [[VTOD()]]
  
  
Line 39: Line 39:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|VAXTIME]]

Revision as of 16:01, 11 March 2009

SET VAXTIME

Class

Date and Time Data


Purpose

Toggle display of VAX date time string


Syntax

SET VAXTIME ON | OFF | (<expL>)


See Also

CREATE BRIDGE, DTOV(), VTOD()


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 Database Server, Recital Mirage Server, Recital Terminal Developer (All OpenVMS only)