Server time
How can i get server time and check if its for example 24:00.Im asking because i don't know if its xx:xx:xx , xx:xx or something else.
|
Re: Server time
You mean this?
Is just an example ofcourse... Code:
|
Re: Server time
lol i didnt mean server uptime in any way.What I ment is server time, like when you write 'thetime' it prints server time aka 'the time is now xx:yy:zz'.So i want to get this and check if its 24:00:00.
PS: Think I saw this in a plugin but dont remember where and the search tool didnt help so ... |
Re: Server time
Oh sry, my english is not rly good... so you mean the REAL TIME...
Just see timeleft.sma Code:
|
Re: Server time
ok and how to check if its a specific hour ?
|
Re: Server time
Get the hour only and them compare it.
|
Re: Server time
if(equal(.....) )
or str_to_num( ) and then compare the var with 24. |
| All times are GMT -4. The time now is 14:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.