Re: php & date manupulation functions

From: Date: Sun, 16 Feb 2003 08:33:55 +0000
Subject: Re: php & date manupulation functions
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-25659@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings Rajesh On 15 February 2003 at 20:37:31 +0000 (which was 20:37 where I live) Rajesh Fowkar might have written < ... > RF> day($dbdate); RF> month($dbdate); RF> year($dbdate); RF> Am I missing something ? Is there anyway to accomplish the above ? or I RF> will have to store these three values separatly in the database rather than RF> as a date. try <? echo date("d",$dbdate)."<br>"; echo date("m",$dbdate)."<br>"; echo date("y",$dbdate)."<br>"; ?> - -- Bye, _______________________________________________ David | David Elliott | Software Engineer | _________________________| david@elliott.uk.com | PGP Key ID 0x650F4534 | | "I have my Texas hunting license here..." -- George Bush | -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8ckt (Build 08) Comment: PGP Signed, sealed, delivered. iQA/AwUBPk9M9PmK8eZlD0U0EQKSygCgoAF7B5i8VkD9rjanG2S+q9LVPKQAoOHE jzIOJ4lZW2nVTqLclNF6Ri9g =tSMK -----END PGP SIGNATURE-----

« previous php.db (#25659) next »