User Tools

Site Tools


jvs:cigal:manual:chapter4:day

CIGAL Reference Manual, Chapter 4 (day):

Day -- Integer pseudo-variable containing current month and day

usage: dest = day

DAY is a number variable containing the current month and day. This variable is read-only. DAY's value is set at the moment it is read. DAY is set as the month plus the day divided by 100.

Examples:

      On September 12th,   DAY = 9.12
      On January 1st,      DAY = 1.01

At 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:00.00

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

CIGAL Home, CIGAL Manual, List, Manual Help

jvs/cigal/manual/chapter4/day.txt · Last modified: 2022/11/18 16:08 (external edit)