Re: convert yyyy/mm/dd to mm/dd/yyyy, how?
| From: | mike cullerton | Date: | Sun, 13 Jan 2002 19:53:52 +0000 |
| Subject: | Re: convert yyyy/mm/dd to mm/dd/yyyy, how? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80371@lists.php.net to get a copy of this message | ||
on 1/13/02 12:56 PM, Sander Peters at S.Peters@Visionnet.nl wrote:
> My first idea whas to split the date up in vars in php and then print
> the vars in the way I like it
> Is this a bad idea? Or are there better sollutions?
that's the way i do it. i have 2 functions i use all the time for getting
dates in and out of mysql using $month,$day,$year.
for any project, i also create functions for formatting $month,$day,$year
however the customer requires the output.
-- mike cullerton