[rrd-users] Re: How does timestamp work?
Alex van den Bogaerdt
alex at ergens.op.het.net
Fri Oct 8 23:22:06 MEST 2004
On Fri, Oct 08, 2004 at 03:31:35PM -0300, Giovane Moreira wrote:
> eg: I'm in Brazil, GMT- 3hours.. if I type date +%s, it converts my
> time (15:18) to 18:18 (GMT Time) and then return the timestamp. That
> means that timestamp depends on your zone time...
Wrong.
If you and I type "date +%s" and press return at the same moment,
the result will be the same (or: they should be the same)
The timestamp does NOT depend on a time zone.
The clock on your wall may be displaying 15:18, the clock on my
wall may be displaying 20:18. That doesn't matter, the time is
1097345880 for both you and me.
Alex
--
You want an answer? You'd better follow the following guidelines!
Linesize well below 80 chars. Reply to the list, not to me. Trim
irrelevant lines. Answer below the remaining paragraph.
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list