General question about timestamps
Posted: Mon Oct 18, 2004 4:29 am
hi.
When I work with time I use timestamps, because their more convenient to work with than regular dates. So when I want to add e.g. three days to a date I just add 3 * 86400, which is three days in seconds. But I'm not sure if this is the correct way of doing it. Could such operations produce an erroneous result when dealing with things like daylight-saving time?
regards tores
When I work with time I use timestamps, because their more convenient to work with than regular dates. So when I want to add e.g. three days to a date I just add 3 * 86400, which is three days in seconds. But I'm not sure if this is the correct way of doing it. Could such operations produce an erroneous result when dealing with things like daylight-saving time?
regards tores