Re: Re: [PHP] String to Date and Date to String Functions?
| From: | Ben Edwards | Date: | Tue, 25 Jan 2005 00:09:58 +0000 |
| Subject: | Re: Re: [PHP] String to Date and Date to String Functions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207188@lists.php.net to get a copy of this message | ||
On Mon, 24 Jan 2005 13:32:36 -0600, Jay Blanchard
<jay.blanchard@niicommunications.com> wrote:
> [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 :)
>
That is awfull grammer. Ime dyslexic, whats your excuse.
Was wondering if someone else has writern the function, dont have time
at the mo and thought someone else may of.
Ben
--
Ben Edwards - Poole, UK, England
WARNING:This email contained partisan views - dont ever accuse me of
using the veneer of objectivity
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)