Setting time zone in php

Sunny.Sagar
Posted by Sunny.Sagar under Others category on | Points: 40 | Views : 529
<?php
date_default_timezone_set("India/Kolkata");
echo "The time is " . date("h:i:sa");
?>

Comments or Responses

Login to post response