5 .TH DP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
7 dp \- parse dates 822-style
23 is a program that parses dates according to the ARPA Internet standard.
24 It also understands many non\-standard formats,
25 such as those produced by TOPS\-20 sites and some UNIX sites using
27 It is useful for seeing how
29 will interpret a date.
33 program treats each argument as a single date,
34 and prints the date out in the official 822\-format.
35 Hence, it is usually best to enclose each argument in double\-quotes for the
38 To override the output format used by
47 This permits individual fields of the address to be extracted with ease.
48 The string is simply a format string and the file is simply a format file.
53 Here is the default format string used by
58 %<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%>
62 which says that if an error was detected, print the error, a `:',
63 and the date in error.
64 Otherwise, output the 822\-proper format of the date.
69 .ta \w'/usr/local/nmh/etc/ExtraBigFileName 'u
70 ^$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"
91 switch must be interpreted as a single token by the shell that invokes
93 Therefore, one must usually place the argument to this switch inside double\-quotes.