Date: 08/30/00
- Next message: Catalin ENACHE: "[phplib] Problem with the "template" class"
- Previous message: layne <email protected>: "RE: [phplib] How do I format a date field from Mysql in phplib."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I al looking to output a date into my page from the date
> field of a table. When I just echo ($q->f(mod_date)); I get
> the European formatted date and time. All I want is the US
> formatted date to display. How do I go about doing this??
You can also use mysql's internal date formatting. It goes something like
this:
select date_format(date_col, 'format_string') as formatted_date from ...
The format_string options are in mysql's docs.
Greg Billingsley
Ifworld, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Catalin ENACHE: "[phplib] Problem with the "template" class"
- Previous message: layne <email protected>: "RE: [phplib] How do I format a date field from Mysql in phplib."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

