3.5.1.2.12 Time2str


Description

Returns time string corresponding to the specified Julian-day value. The return time string is displayed in the format of the input string argument.


See this note.

Syntax

string time2str(double d,string format)$

Parameters

d

is a Julian Date Value which can include Time.

format

the string specifying the format of output date and time.

Return

Return the time string.

Example

string aa$ = time2str(0.1875, "HH:mm")$;
aa$ = ;//Return time string 04:30

See Also

Date2str, Date, Time