Hello,
I’m using time() to generate a timestamp, however I want it to be in milliseconds so I did the following -
$time = time()*1000;
The problem is that it’s floating the number, so coming out with the following -
$time = 1.170100744E+12
What I need is for it to be a 13 digit number, not 1.something to the power of 12.
Hope this all makes sense!I know that there is probably a really easy answer to this but I just can’t seem figure it out.
Thanks for your help.
Sian