GNU AutoGen - The Automated Program Generator: 7.5.6.9 Arg Type Time and Date

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### 7.5.6.9 Arg Type Time and Date

`arg-type = time-date;`

The argument will be converted into the number of seconds since the epoch. The conversion rules are very complicated, please see the ‘`getdate_r(3GNU)`’ man page. There are some additional restrictions:

1. Your project must be compiled with `PKGDATADIR` defined and naming a valid directory.
2. The `DATEMSK` environment variable will be set to the ‘`datemsk`’ file within that directory.

If that file is not accessible for any reason, the string will be parsed as a time duration (see section Arg Type Time Duration) instead of a specific date and time.

This document was generated by Bruce Korb on March 7, 2011 using texi2html 1.82.