Raised This Month: $ Target: $400
 0% 

Compare the time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 10-10-2010 , 16:08   Compare the time
Reply With Quote #1

Hi.

I want to save in my db the current time + 2 hours and then don't let play anyone until current time >= saved time. I tried some things but I have some problems when the current time is 22/23:XX.

Anyone knows a good way to do that ?

Thanks!


Solved.
__________________

Last edited by Javivi; 10-10-2010 at 17:47.
Javivi is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-10-2010 , 16:38   Re: Compare the time
Reply With Quote #2

Quote:
Originally Posted by Javivi View Post
Hi.

I want to save in my db the current time + 2 hours and then don't let play anyone until current time >= saved time. I tried some things but I have some problems when the current time is 22/23:XX.

Anyone knows a good way to do that ?

Thanks!
What did you try and what problems did you have. You should have posted the answers to both my questions when you started the topic.
__________________
fysiks is offline
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 10-10-2010 , 17:46   Re: Compare the time
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
What did you try and what problems did you have. You should have posted the answers to both my questions when you started the topic.
The problem was that I didn't check one thing .

/solved
__________________
Javivi is offline
Reply



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 10:19.


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