Help this code right?
PHP Code:
|
Re: Help this code right?
Have you tested it yet?
|
Re: Help this code right?
If I tried I get the PM time but I have not proven if I miss AM wondering why if it was okay if I fix an error.
|
Re: Help this code right?
iTime does not contain just the hour, it also contains the minutes. str_to_num should only be used when the only thing the string contains only numbers.
To better help you, look at http://www.cplusplus.com/reference/ctime/strftime/ to see what you can format using get_time |
Re: Help this code right?
and this would otherwise?
PHP Code:
|
Re: Help this code right?
Quote:
|
Re: Help this code right?
Code:
get_time("%I:%M %p", iTime, charsmax(iTime)) |
| All times are GMT -4. The time now is 21:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.