Contained here are references to Korn Shell scripts that provide
some type of time and/or date manipulation functions. These functions
can be accessed via the menu along the right side of this page.
The cal2html_k93 Korn Shell command/function transforms the standard
text calendar generated by the Unix "cal" command into an HTML
document for a single month or an entire year
(non-html version)
This script examines a calendar for a specified month and year and
outputs a day of the month or a list of days of the month on which a
specified day of the week occurs. For example, this script will output
the dates for all of the Sundays in February 2006, or it can output the
date of the second Sunday in February 2006.
(non-html version)
Korn shell function to determine if the current or user
specified year is a leap year. Returns boolean true or
false, also will optionally return the number of days in
February.
(non-html version)
This function will determine if the last modification
date/time on a file is between two specified date/time
values. The date/time values required consist of a
beginning and an ending date/time, and are expected to
be in the following format: YYYY-MM-DD HH:MM:SS.
(non-html version)
Compare the time from the system running this script to
the time on each system from a list of remote systems,
and generate a time synchronization report in HTML
format to identify the differences. Color coded output
is generated to segment the synchronized systems from
the out-of-sync.
(non-html version)