MPE/iX Shell and Utilities Reference Manual, Vol 1

date(1) MPE/iX Shell and Utilities date(1)
Field Descriptors
date recognizes the following field descriptors:
%A the full weekday name in the current locale (for example, Sunday, in English).
%a the abbreviation for the weekday in the current locale (for example, Sun, in English).
%B the full month name in the current locale (for example, February, in English).
%b the abbreviation for the month name in the current locale (for example, Feb, in
English).
%C the first two digits of the year (00 to 99).
%c the appropriate representation of the date and time in the current locale.
%D the date in the form mm/dd/yy.
%d the two-digit day of the month as a number (01 to 31).
%e the day of the month in a two-digit, right-justified, blank-filled field ( 1 to 31).
%H the hour in the 24-hour clock representation (00 to 23).
%h the same as %b.
%I the hour in the 12-hour clock representation (01 to 12).
%j the numeric day of the year (001 to 366).
%M the minute (00 to 59).
%m the month number (01 to 12).
%n a newline character.
%p the equivalent of
AM or PM in the current locale.
%r the 12-hour time in the current locale’s equivalent of AM/PM notation (11:53:29 AM in
the POSIX locale).
%S the seconds (00 to 61). Note that there is an allowance for two leap seconds.
%T the 24-hour time (14:53:29).
%t a tab character.
%U the week number in the year, with Sunday being the first day of the week (00 to 53).
All days before the first Sunday of the new year are in week 0.
Commands and Utilities 1-151