RE: Re: [PHP] String to Date and Date to String Functions?

From: Date: Mon, 24 Jan 2005 19:32:36 +0000
Subject: RE: Re: [PHP] String to Date and Date to String Functions?
Groups: php.general 
Request: Send a blank email to php-general+get-207148@lists.php.net to get a copy of this message
[snip] On Mon, 24 Jan 2005 12:58:52 -0500, hitek@cox.net <hitek@cox.net> wrote: > How about the strtotime() function? > http://us4.php.net/manual/en/function.strtotime.php No good, it douse not take a format string. What if I wanted to convert the timestamp to 'DD-MM-YYY', display it on a form, validate it, and then convert it back to a timestamp. I cant beleve the PHP date/time functions suck this bad;( [/snip] Well, you could always write some extensions to PHP to cover it, as soon as you learn to spell does :)

« previous php.general (#207148) next »