in reply to Timestamps
How much resolution do you need? If "to the second" accuracy is sufficient, what's wrong with using localtime in scalar context?
If you need better resolution than one second, you can use Time::HiRes's Time::HiRes::time() function, which returns floating-point seconds since epoc.
Dave
|
|---|