Is the following date function just for PHP4?
I have PHP3 and it doesn't work for me.
G - hour, 24-hour format without leading zeros; i.e. "0" to "23"
I typed:
$time = date("G:i:s A");
and it printed:
G:40:11 PM
Any ideas?
If I switch to "G" to a "H" it works fine, but I don't really want to as I don't want the leading zero.
Any help would be appreciated.