User Tools

Site Tools


CIGAL Reference Manual, Chapter 4 (Variables): year

Year -- Integer pseudo-variable containing the current year

usage: dest = year

YEAR is a number variable containing the current year. This variable is read-only and its value is set at the moment it is read.


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

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

CIGAL Home, CIGAL Manual, Variables List, Manual Help

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