5 .TH DP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
7 dp \- parse dates 822-style
25 is a program that parses dates according to the ARPA Internet standard.
26 It also understands many non\-standard formats,
27 such as those produced by TOPS\-20 sites and some UNIX sites using
29 It is useful for seeing how
31 will interpret a date.
35 program treats each argument as a single date,
36 and prints the date out in the official 822\-format.
37 Hence, it is usually best to enclose each argument in double\-quotes for the
40 To override the output format used by
49 This permits individual fields of the address to be extracted with ease.
50 The string is simply a format string and the file is simply a format file.
55 Here is the default format string used by
59 %<(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'%etcdir%/ExtraBigFileName 'u
70 ^$HOME/\&.mh\(ruprofile~^The user profile
73 .SH "PROFILE COMPONENTS"
78 .I "Standard for the Format of ARPA Internet Text Messages"
83 .RB ` \-format "' default as described above"
84 .RB ` \-width "' default to the width of the terminal"
93 switch must be interpreted as a single token by the shell that invokes
95 Therefore, one must usually place the argument to this switch inside double\-quotes.