An amxx problem about date-time
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! |
Re: An amxx problem about date-time
Code:
why make it so complicated with 18 variables? |
| All times are GMT -4. The time now is 10:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.