Forums
This topic is locked
Welcome back, skcr! Your last login was 2 minutes
Posted 28 May 2001 01:45:15
1
has voted
28 May 2001 01:45:15 suhail kaleem posted:
how do i do the below line ud4??
Welcome back, skcr! Your last login was 2 minutes ago.
22716 new profiles this week, 2374 currently online and 60 are now chatting
suhailkaleem
Edited by - suhailkaleem on 05/29/2001 22:27:24
Replies
Replied 30 May 2001 23:06:50
30 May 2001 23:06:50 Geoff Schreiber replied:
You need to set a field in the database, that when a user logs in via a page, the field in his record is timestamped. Then you would simply check, at each login time, the value of the time now - the value of the timestamp... Check that both are formatted correctly as well first though, some servers do timestamps different than the Now() feature...