Re: date_format in mysql with GTK?!?
| From: | Markus Fischer | Date: | Fri, 19 Oct 2001 07:13:59 +0000 |
| Subject: | Re: date_format in mysql with GTK?!? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-336@lists.php.net to get a copy of this message | ||
On Thu, Oct 18, 2001 at 09:38:07PM -0800, PQ Administrator wrote :
> Im running a MySQL query which uses the date_format() statement
> for a few queries. When i issue date_format(<field name>,
> '%Y-%m-%d') it formats it correctly except when i display the
> date in a CList, it ommits the "-" seperator for the date...
> Can i not display a date in the format of Y-m-D or Y/M/D within
> a CList or GTK?!?!
You can. Have you tried adding fixed strings with dashes in it?
E.g. $list->append(array('2001-08-11'); works pretty fine on my
system. Post the relevant parts of the code if you can't find the
problem.
- Markus