Difference between revisions of "TIME()"

From Lianjapedia
Jump to: navigation, search
Line 21: Line 21:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Date and Time Data]]
 
 
[[Category:Date and Time Data Functions]]
 
[[Category:Date and Time Data Functions]]

Revision as of 11:34, 4 February 2013

Purpose

Function to return the current system time

Syntax

TIME([<expN>])

See Also

AMPM(), CTOT(), DATE(), DATETIME(), ELAPTIME(), HOUR(), HOURS(), MINUTE(), MINUTES(), SEC(), SECONDS(), SECS(), SET SECONDS, TIMESTAMP(), TSTRING(), TTOC(), TTOD(), VALIDTIME()

Description

The TIME() function returns the current system time as a character string in the format HH:MM:SS. The TIME() function always returns the time in 24 hour format, and is not affected by the SET HOURS TO [12/24] command. The optional numeric expression <expN> must result in a non-zero value. The TIME() function will always return hundredths of seconds as 00.

Example

? time()
17:47:24
? time(1)
17:47:31.00