[chuck-users] timestamp

Gonzalo gonzalo at dense13.com
Sat Dec 6 02:11:15 EST 2014


Is there a way to get the system's timestamp? Something like PHP's time().

I'm asking because I'm trying to append a unique string to a filename 
(something like errors_143234334.log), where 143234334 would be a 
timestamp or a date. An alternative approach is to generate a random 
number, but then I loose sequentiality.

Thanks!
Gonzalo


More information about the chuck-users mailing list