Next: , Previous: , Up: Option Argument Specification   [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 Arg Type Time Duration) instead of a specific date and time.