Simple doubt about getting time.
Im trying to do an "happy hour" plugin. I mean, it just activates after 12AM, and stops at 6AM.
The only thing I don't know to do is to handle with time. Thanks in advance |
Re: Simple doubt about getting time.
|
Re: Simple doubt about getting time.
The time is 24hr time so 12am is 0.
PHP Code:
|
Re: Simple doubt about getting time.
Oh thanks for answering. I tried this before but I haven't seen if it is working...
PHP Code:
|
Re: Simple doubt about getting time.
Quote:
0 = 12AM 12 = 12pm 23 = 11pm 23:59:59 = the highest time then back to 0:0:0 |
| All times are GMT -4. The time now is 01:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.