Reference > Functions reference > Get functions > Get(CurrentTime)
 
Get(CurrentTime)
Purpose 
Returns the current time (to the nearest second) according to the system clock.
Format 
Get(CurrentTime)
Parameters 
None
Data type returned 
time
Originated in 
FileMaker Pro 6.0 or earlier
Description 
The format of the value returned is determined by the operating system settings.
Notes 
If the calculation result for this script step is set to integer format, it will return the total number of seconds elapsed since the start of the current day.
In client/server and peer-to-peer environments, Get(CurrentTimestamp) evaluates the status of the client machine running the script (not the host machine).
Examples 
Returns 11:30:00 AM when the function result is in text format and the system clock shows 11:30:00 AM. For an example script, see Install OnTimer Script script step.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas