KaFF Posted February 15, 2007 Share Posted February 15, 2007 Hi there, I am trying to display a date format of ... Thu 15-February-2007 and the time but am having trouble as the date or time doesnt change. If anyone could help me as to what the code i should use, i would greatly appreciate it KaFF Link to comment https://forums.phpfreaks.com/topic/38619-solved-dynamic-date-display/ Share on other sites More sharing options...
benjaminbeazy Posted February 15, 2007 Share Posted February 15, 2007 http://www.php.net/date Link to comment https://forums.phpfreaks.com/topic/38619-solved-dynamic-date-display/#findComment-185340 Share on other sites More sharing options...
redarrow Posted February 15, 2007 Share Posted February 15, 2007 <?php $date=date("d-F-Y"); echo $date; ?> result 15-February-2007 Link to comment https://forums.phpfreaks.com/topic/38619-solved-dynamic-date-display/#findComment-185353 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.