*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> cal (1)              



NAME    [Toc]    [Back]

     cal - displays a calendar

SYNOPSIS    [Toc]    [Back]

     cal [-jy] [[month] year]

DESCRIPTION    [Toc]    [Back]

     cal displays a simple calendar.  If arguments are not specified, the current
 month is displayed.

     The options are as follows:

     -j       Display Julian dates (days one-based, numbered from
January 1).

     -y      Display a calendar for the current year.

     A single parameter specifies the year (1 - 9999) to be  displayed; note
     the  year  must be fully specified: ``cal 89'' will not display a calendar
     for 1989.  Two parameters denote the  month  (1  -  12)  and
year.  If no parameters
 are specified, the current month's calendar is displayed.

     A year starts on January 1st.

     The Gregorian Reformation is assumed  to  have  occurred  in
1752 after the
     2nd  of  September.  By this time, most countries had recognized the reformation
 (although a few did not recognize it until the  early
     Eleven  days  following that date were eliminated by the reformation, so
     the calendar for that month is a bit unusual.

SEE ALSO    [Toc]    [Back]


STANDARDS    [Toc]    [Back]

     The cal  command  offers  a  superset  of  IEEE  Std  1003.2
(``POSIX.2'') functionality.

HISTORY    [Toc]    [Back]

     A cal command appeared in Version 6 AT&T UNIX.

OpenBSD      3.6                          April      28,     1995
[ Back ]
 Similar pages
Name OS Title
ncal Linux displays a calendar and the date of easter
cal FreeBSD displays a calendar and the date of easter
ncal FreeBSD displays a calendar and the date of easter
csa_list_entry_sequence HP-UX lists the recurring calendar entries that are associated with a calendar entry
csa_read_calendar_attributes HP-UX read and return the calendar attributes values for a calendar
csa_x_process_updates HP-UX invoke a calendar application's calendar event handler
csa_logon HP-UX log on to the calendar service and establish a session with a calendar
csa_update_calendar_attributes HP-UX update the calendar attributes values for a calendar
csa_list_calendar_attributes HP-UX list the names of the calendar attributes associated with a calendar
csa_delete_calendar HP-UX delete a calendar from the calendar service
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service