4 .TH DP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
6 dp \- parse dates 822-style
22 is a program that parses dates according to the ARPA Internet standard.
23 It also understands many non\-standard formats,
24 such as those produced by TOPS\-20 sites and some UNIX sites using
26 It is useful for seeing how
28 will interpret a date.
32 program treats each argument as a single date,
33 and prints the date out in the official 822\-format.
34 Hence, it is usually best to enclose each argument in double\-quotes for the
37 To override the output format used by
43 This permits individual fields of the address to be extracted with ease.
46 is either the name of a format file or
47 a format string directly, if prepended with an equal sign `='.
52 Here is the default format string used by
57 %<(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/.mmh/profile~^The user profile
72 .SH "PROFILE COMPONENTS"
77 .I "Standard for the Format of ARPA Internet Text Messages"
82 .RB ` \-form "' 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.