note 29042 added to function.date

From: Date: Fri, 31 Jan 2003 11:09:26 +0000
Subject: note 29042 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-43171@lists.php.net to get a copy of this message
We have a logging in a MySQL-db. It stores the data as yyyy-mm-dd. Now I want to be able to get the day of the week from this format. In other words, I want to be able to enter the date in yyyy-mm-dd format en returns the weekday (like Saturday). Does anybody knows how I can do that? Thanks. -- http://www.php.net/manual/en/function.date.php http://master.php.net/manage/user-notes.php?action=edit+29042 http://master.php.net/manage/user-notes.php?action=delete+29042 http://master.php.net/manage/user-notes.php?action=reject+29042

« previous php.notes (#43171) next »