Let us say that i want to store a record with data in a file and one of the
fields in this record is a time_t (number of seconds since 1/1/1970) and I
want to search for this time_t in the file.
The system works in GMT, and when i read the unix manuals, one can make a TZ
string and from this string the system can calculate the normal local time,
and the local time when daylight savings time is in effect. The system
administrator has to change this string anually.
With mktime one can make a time_t from a struct. When I fill in this struct
the local DD/MM/YYYY UU:MM:SS, does this function converts this to the exact
GMT? And how works this for the past years, since there is only one active
I want to search for the date and time in a file. Is it possible with a
time_t field, or do i have to make a string YYYYMMDDUUMMSS. In the first
case I only need 4 bytes, in the latter 15.