<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> <html> <head> <title>MHonArc Resources: DATEFIELDS</title> </head> <body> <address> <a href="../resources.html#datefields">MHonArc Resource List</a> </address> <hr> <h1>DATEFIELDS</h1> <!-- *************************************************************** --> <h2>Syntax</h2> <dl> <dt><strong>Envariable</strong><dt> <dd><p><br> <code>M2H_DATEFIELDS=</code><var>field1</var><code>:</code><var >field2</var><code>:</code><var>...</var><code>:</code><var >fieldN</var> </p> </dd> <dt><strong>Element</strong><dt> <dd><p><br> <code><DATEFIELDS></code><br> <var>field1</var><code>:</code><var >field2</var><code>:</code><var>...</var><code>:</code><var >fieldN</var><br> <code></DATEFIELDS></code><br> </p> </dd> <dt><strong>Command-line Option</strong><dt> <dd><p> <code>-datefields </code><var>field1</var><code>:</code><var >field2</var><code>:</code><var>...</var><code>:</code><var >fieldN</var> </p> </dd> </dl> <!-- *************************************************************** --> <h2>Description</h2> <p>DATEFIELDS specify the message header fields MHonArc will search to determine the dates of messages. Each field will be checked in the ordered specified. </p> <p>The value of the DATEFIELDS is a colon separated list of message header fields to check. </p> <!-- *************************************************************** --> <h2>Default Setting</h2> <pre> received:date </pre> <!-- *************************************************************** --> <h2>Resource Variables</h2> <p>N/A </p> <!-- *************************************************************** --> <h2>Examples</h2> <p>By default. MHonArc looks at the <tt>Received</tt> fields of a message to determine a message's date. This tends to be more accurate as it tells when the message was actually received. However, you may want to have the date based upon the time the sender composed the message. The <tt>Date</tt> field usually reflects the composition date. Therefore, the following setting can be used: </p> <pre> <b><DateFields></b> date:received <b></DateFields></b> </pre> <!-- *************************************************************** --> <h2>Version</h2> <p>2.1.1 </p> <!-- *************************************************************** --> <h2>See Also</h2> <p> </p> <!-- *************************************************************** --> <hr> <address> 00/10/28 11:13:00<br> <img align="top" src="../monicon.gif" alt=""> <a href="http://www.pobox.com/~ehood/mhonarc.html" ><strong>MHonArc</strong></a><br> Copyright © 1998, <a href="http://www.pobox.com/~ehood/" >Earl Hood</a>, <a href="mailto:mhonarc@pobox.com" >mhonarc@pobox.com</a><br> </address> </body> </html>