4 .TH DP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
6 dp \- parse dates 822-style
24 is a program that parses dates according to the ARPA Internet standard.
25 It also understands many non\-standard formats,
26 such as those produced by TOPS\-20 sites and some UNIX sites using
28 It is useful for seeing how
30 will interpret a date.
34 program treats each argument as a single date,
35 and prints the date out in the official 822\-format.
36 Hence, it is usually best to enclose each argument in double\-quotes for the
39 To override the output format used by
48 This permits individual fields of the address to be extracted with ease.
49 The string is simply a format string and the file is simply a format file.
54 Here is the default format string used by
58 %<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%>
61 which says that if an error was detected, print the error, a `:',
62 and the date in error.
63 Otherwise, output the 822\-proper format of the date.
68 .ta \w'%etcdir%/ExtraBigFileName 'u
69 ^$HOME/\&.mh\(ruprofile~^The user profile
72 .SH "PROFILE COMPONENTS"
77 .I "Standard for the Format of ARPA Internet Text Messages"
82 .RB ` \-format "' default as described above"
83 .RB ` \-width "' default to the width of the terminal"
92 switch must be interpreted as a single token by the shell that invokes
94 Therefore, one must usually place the argument to this switch inside double\-quotes.