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
In reply to Re: Timestamps
by davido
in thread Timestamps
by Ronnie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |