I have this code
$nowtime = strtotime("now"); $timerightnow = date ('h:i:s', $nowtime); echo "$timerightnow";
the time shows as 05:21:19 which makes me think it's the sever time??? how do I have this to be NZ time???
echo gmdate('h:i:s', time() + (3600 * +12.0)); // GMT + 12 for NZ the + can be removed as it wont affect it but its there to show you incase you want negative Timezones -1.0 etc