|
TimeFormat() 
Returns the time as a formatted string.
Syntax
TimeFormat(<nType>]) --> cTimeString
Arguments
<nType> is the number of the
formatting to apply to the time. See the table below for more
details. If nType is not specified the default return format is
1.
Returns
Returns a new character string based on the
specified time format.
Description
This function accepts a time format and
returns a time string.
|
Type
|
Formatting
|
Example
|
|
1
|
HH:MM:SS
|
13:05:05
|
|
2
|
HH:MM
|
05:07
|
|
3
|
HH:MM am|pm
|
4:35pm
|
|
4
|
seconds. (Returns the number of seconds elapsed
since midnight.)
|
1939
|
Examples
TimeFormat()
TimeFormat(3)
____________________________
Related Topics
Business
Function List
Time()
|