Raised This Month: $ Target: $400
 0% 

An amxx problem about date-time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wgwgkg
Member
Join Date: May 2011
Old 05-06-2013 , 09:17   An amxx problem about date-time
Reply With Quote #1

Now I have 3 dates and times (Start date-time, date-time now, end date-time) which are spited in 18 variables - 3 Years, 3 Months, 3 Days, 3 Hours, 3 Minutes, 3 Seconds to form a integers for having a easier calculating - Count if the Date-time now is between Start date-time and End date-time.

You maybe don't understand. Let's look at the example below:
Date-time now: 6/5/2013 (D/M/Y) 15:00
The specified start date-time: 5/5/2012 (D/M/Y) 14:00
The specified end date-time: 7/5/2013 (D/M/Y) 13:00

I have failed for several times...
How can I check the valid if date-time now is between specified start date-time and specified end date-time or not?

Thanks for reading this post and forgive my poor English!

Last edited by wgwgkg; 05-06-2013 at 09:22. Reason: Correcting some mistakes
wgwgkg 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 10:52.


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