kakaini Posted December 15, 2008 Share Posted December 15, 2008 Is there any built in function that retrived day of the week from date?For example:i input "02.03.2009" and it returns "Tu" or something like that. x: Link to comment Share on other sites More sharing options...
jeffman Posted December 15, 2008 Share Posted December 15, 2008 Make a timestamp using this function: http://www.php.net/manual/en/function.mktime.phpPass a formatting character and the timestamp to this function: http://www.php.net/manual/en/function.date.phpExamples under the date() description show how to combine the two. Link to comment Share on other sites More sharing options...
kakaini Posted December 16, 2008 Author Share Posted December 16, 2008 Thanks! that does the trick! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.