Description
F$SECS() is used to retrieve the number of seconds that have passed since midnight.
Call Signature
int F$SECS ( )
Return Value
int
Returns the number of seconds that have passed since midnight.
Remarks
This is typically used for timing operations.
Note that the results will be wrong if execution crosses over `midnight'.
Example
The following commands compute the length of time the program PSG takes to compute a perspective scene.
local integer i i = F$SECS run PSG i = F$SECS - i print "PSG took ",F$INT(i/60),"m ",i-60*F$INT(i/60),"s"
See also
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.