Raised This Month: $ Target: $400
 0% 

Help about SQL timestamp and banning system.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Marcoux
Junior Member
Join Date: Oct 2009
Old 10-08-2009 , 13:51   Re: Help about SQL timestamp and banning system.
Reply With Quote #4

Well, lets supose somehow I set a timestamp in a MySQL. Something like this:

----AuthID-----Unban timestamp

Then, when a player connect, it retrieves the unban timestamp from his AuthID.

Up to here, I know how to everything,it's pretty easy.

Now, I want to know if the date and time of the timestamp, is before or after now. In other words, if the player is still banned, or if his ban has ended.

Thats just the thing I want to know.
Marcoux is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode