Welcome Guest, Not a member yet? Register   Sign In
CI Session Time Stamp?
#1

[eluser]Michael Nielsen[/eluser]
Could someone please explain to me how to read the 'last-activity' field from the Ci session class.

In my db it stores my 'last_activity' as 1238795552. Is that a Linux thing cause I really have no idea how to read that seems it's meant to be a time stamp.
#2

[eluser]bretticus[/eluser]
Code:
TIME STAMP:  1238795552

DATE: 04 / 03 / 09 @ 4:52pm

It's a unix timestamp. Pretty standard. time() under php will generate it to. It's seconds since January 1st, 1970 BTW.




Theme © iAndrew 2016 - Forum software by © MyBB