Displaying Time Variables

Description

The following example uses the F directive within a Text Box control to format and display date and time values.

Example

dim tim as T
tim = now()
ui_dlg_box("Time Variables",<<%dlg%
Time value \(formatted as Date only): |[%TF=M/d/y%.20tim];
Time value \(formatted as time only): |[%TF=h:m:s am%.20tim];
;
%dlg%)

Limitations

Desktop applications only.

See Also