aiight58 Posted April 16, 2010 Share Posted April 16, 2010 I am making a website and want the current date and time everytime someone enters into the website what are the steps to go about doing this? Link to comment https://forums.phpfreaks.com/topic/198787-how-to-create-a-date-and-time-on-website/ Share on other sites More sharing options...
MasterK Posted April 16, 2010 Share Posted April 16, 2010 You just want it to show the Current Time and Date? // Assuming today is March 10th, 2001, 5:16:18 pm, and that we are in the // Mountain Standard Time (MST) Time Zone $today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm More Info > http://www.php.net/manual/en/function.date.php Link to comment https://forums.phpfreaks.com/topic/198787-how-to-create-a-date-and-time-on-website/#findComment-1043318 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.