Time
Syntax
Time()
Description
Returns the current time, using the date format specified in the current execution option.
Parameters
None
Returns
Returns a string with the current time.
Example
The following table presents examples of using the Time function with the regional options set to 24 hour format and 12 hour format, respectively:
| Expression | Result |
|---|---|
|
Time() |
13:07:25 |
|
Time() |
1:07:25 PM |