bBox_CurrentTime ( {format; useGMT} )

Parameters:
   format: printf format string (optional)
   useGMT: true to use GMT instead of local time zone (optional)

Result:
   the formatted time as text

Error:
   none

Script Step:
   none

––––––––––

First appeared in: 0.3

Examples in demo file: 1

Compatibility:   Client, macOS, Server, Ubuntu, WebDirect, WPE

––––––––––

Return the current time as a string, with up to a millisecond of precision.

The default format will return time with microseconds in a format that FileMaker will accept, so this will generate a Timestamp result with microseconds in FileMaker:

GetAsTime (bBox_CurrentTime)

The default format string is "%d:%02d:%02d.%06d"

––––––––––

bBox Functions

bBox Wiki