in reply to Epoch time in milliseconds: Is there a better way?
gettimeofday () returns seconds and microseconds (not milliseconds) in array context. The documentation is not at all ambiguous about that.
What use are you putting the result to? Why not use the scalar context floating point result instead of a nasty string concatenation that will fail in nasty ways about 1/10th of the time?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Epoch time in milliseconds: Is there a better way?
by logan (Curate) on Nov 25, 2008 at 06:08 UTC | |
by Xilman (Hermit) on Nov 25, 2008 at 12:31 UTC | |
by logan (Curate) on Nov 25, 2008 at 20:34 UTC | |
by GrandFather (Saint) on Nov 25, 2008 at 06:42 UTC |