php & date manupulation functions

From: Date: Sat, 15 Feb 2003 20:37:31 +0000
Subject: php & date manupulation functions
Groups: php.db 
Request: Send a blank email to php-db+get-25650@lists.php.net to get a copy of this message
Hello, There seems to be very few date manupulation functions in php. In my php form I am displaying select combos for day, month and year. Now while updating the form I want to retrieve the date and take out day, month and year from that date and display the correct selection in the combo. I could not find any function like say day($dbdate); month($dbdate); year($dbdate); Am I missing something ? Is there anyway to accomplish the above ? or I will have to store these three values separatly in the database rather than as a date. Thanks in advance. Peace -- Rajesh * rajesh-shriram@gmx.net * http://www.symonds.net/~rajesh/ Powered By : Debian GNU/Linux 3.0 (Woody) - [Kernel 2.4.18(ext3),Mutt 1.5.1i] Women are always anxious to urge bachelors to matrimony; is it from charity, or revenge? -- Gustave Vapereau

« previous php.db (#25650) next »