| 
 Posted by Juan Jos Gutirrez de Quevedo Prez on 04/21/06 18:59 
El 21 Apr 2006 08:30:26 -0700 
Rithish escribió: 
 
> Hello. I noticed a strange thing while using strtotime() and date() 
> functions in combination to generate from MySQL into a readable 
> format. 
 
and why don't you just use date_format() function from mysql i.e.: 
 
SELECT date_format('0000-00-00','%d/%m/%Y') as formatted_date; 
 
http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html 
 
--  
Juan José Gutiérrez de Quevedo 
Director Técnico (juanjo@iteisa.com) 
ITEISA (http://www.iteisa.com) 
942544036 - 637447953
 
  
Navigation:
[Reply to this message] 
 |