1
Xeon_DP
last_login field
  • 2006/1/7 15:52

  • Xeon_DP

  • Just popping in

  • Posts: 25

  • Since: 2005/12/11


i have a question about the last_login field.
it contains a integer. is it a unixtime stamp?

what to do with the value to convert it to a normal date?

$unixtime = strtotime($userdata['lastlogin']);
echo "<td>".date("j-n-y H:i",$unixtime)."</td></tr>";

thats what i do now. i got a couple of users that last logged in 1-1-70 00:59
and some others 7 - 1 - 06 00:00


Login

Who's Online

73 user(s) are online (38 user(s) are browsing Support Forums)


Members: 0


Guests: 73


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits