GetTime offset relative to server's timezone
This stock allows you to get the amount of seconds the server is before or after unix. I used it to make offsets to use GetTime in a way that works around the end of the day, 00:00. Hopefully it will be useful to you.
Code:
stock int GetTimeOffset() |
Re: GetTime offset relative to server's timezone
How about, this way ?
PHP Code:
And... GetTime() returns UNIX time, which is UTC-0. But FormatTime returns with timezone+dts. |
All times are GMT -4. The time now is 22:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.