dp
PURPOSE
Parses and reformats dates.
SYNOPSIS
dp [-form file -format string][-width num] date ...
dp -help
DESCRIPTION
The dp command is used to parse and reformat dates. dp
is not designed to be run directly by the user; it is
designed to be called by other programs. The dp command
is typically called by its full path name. The dp
command is part of the MH (Message Handling) package.
The dp command parses each string specified as a date and
attempts to reformat the string. The default output
format for dp is the ARPA RFC822 standard. For each
string it is unable to parse, dp displays an error
message.
FLAGS
-form file Reformats the given dates into the alter-
nate format described in file.
-format string Reformats the given dates into the alter-
nate format specified by string. The
default format string is:
%<(nodate{date})error:%{date}%|%(putstr(pretty{date}))%>
-help Displays help information for the
command.
-width num Sets the maximum number of columns that
dp uses to display dates and error mes-
sages. The default is the width of the
display.
FILES
$HOME/.mh_profile The MH user profile.
RELATED INFORMATION
The MH command "ap."
The mh-format and mh-profile files in AIX Operating
System Technical Reference.
The "Overview of the Message Handling Package" in Man-
aging the AIX Operating System.