VA FileMan V. 22.0 Programmer Manual Banner


Main Chapter Getting Started Manual Advanced User Manual

Classic VA FileMan API

DT^DIO2: Internal to External Date

This entry point takes an internal date in the variable Y and writes out its external form.

>S Y=2690720.163 D DT^DIO2
JUL 20,1969  1630

This results in Y being equal to JUL 20,1969  16:30. (No space before the 4-digit year; 2 spaces before the hours [1630].)

Input Variable

(Required) This contains the internal date to be converted. Y is required and it is not changed.

In addition, see X ^DD("DD") and DD^%DT, which also convert a date from internal YYYMMDD format to external format.


Reviewed/Updated: March 8, 2007