Forum Moderators: coopster

Message Too Old, No Replies

Revert Uniqid() in Date/Time

Is it possible?

         

litos334

10:15 pm on May 14, 2007 (gmt 0)

10+ Year Member



Hi guys,
Can anyone possible help me with this?

The function php, UNIQID() gets a prefixed unique identifier based on the current time in microseconds.

Today, something like: 4648ddf642b21 is generated.

Is it possible to convert this in a format like yyyy-mm-dd hh:mm:ss?

Thanks.

eelixduppy

2:02 am on May 15, 2007 (gmt 0)



I do not think this is possible; uniqid is a one-way thing. You can look around, but I don't think you will find anything. Seems like you are going to have a find another way to do what you want...