User Tools

Site Tools


jvs:cigal:manual:chapter4:secs

CIGAL Reference Manual, Chapter 4 (Variables): secs

Secs -- Integer pseudo-variable with seconds portion of current time

usage: dest = secs

SECS is a number variable containing the seconds portion of the current time. This variable is read-only. Its value is set the moment it is read. SECS is set to the nearest hundredth of a second, with an accuracy dependent on the resolution of your computer's clock hardware.

Example:

    At 30.25 seconds after 5:25 pm on October 13th, 1992, the CIGAL command:
         ftype '%5/2f/%2d  %5:2f:%5.2f\n' day year-1900 hour secs
    would print as:
         10/13/92  17:25:30.25

See Also:
ALARM(2), CLOCK(4), DAY(4), FORMAT(3), HOUR(4), TIME(3), YEAR(4)

CIGAL Home, CIGAL Manual, Variables List, Manual Help

jvs/cigal/manual/chapter4/secs.txt · Last modified: 2023/02/23 18:43 (external edit)