
Dad Time Format
Dad uses the unix time_t time format to specify the validity
periods. Conversion routines into and from a more readable format
are given in dad:
dadFtoTime and
dadTimetoF). However there is
a huge amount of unix function callable from C to handle this
format (localtime, mktime, strftime, ctime, time ...). Have
a look in the man pages.
Dad knows 3 special time_t constants:
- TIM_TILLEVER for +infinity.
- TIM_SINCEEVER for -infinity.
- TIM_NOW for the current time.
These can be used in the validity period fields or in calls like
dadUpdate.html.
This page is maintained by Wolfgang Wander.