By kettaneh on
Hello,
in SQL, under users table, there is one attribute for login which represent the last time user has logged in.
How can I read it.. the numbers are like 1361077222 or 1278453347
any hint ? I have been searching for this but I could know find useful result
thanks
Comments
Hi kettaneh, The times are
Hi kettaneh,
The times are Unix timestamps. You can read them using the PHP date function ( www.php.net/date ).
For example to get the current user's last logged in time you could:
Andy Wells
Web and Drupal Development
Fluid: Drupal in Derby
Thanks Wellsy, I found this
Thanks Wellsy,
I found this URL which is doing the same function (online tool) http://www.epochconverter.com/
Thanks a gain