2
I put this line in the code php:
$lastlogdate=time();
To get the date and time when logging in, more when I see it looks like this:
1397562733
I wish it would stay that way:
17/04/14
2
I put this line in the code php:
$lastlogdate=time();
To get the date and time when logging in, more when I see it looks like this:
1397562733
I wish it would stay that way:
17/04/14
4
You need to format your date because the time()
brings the date in milliseconds since 01/01/1990. Try this:
$lastlogdate=date('d/M/Y', time());
Source: epochconverter
Browser other questions tagged php date
You are not signed in. Login or sign up in order to post.
Thanks Dude, You Helped Me.
– feliphe felix