RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

From: Date: Tue, 12 Mar 2002 11:02:09 +0000
Subject: RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88177@lists.php.net to get a copy of this message
You have to parse your dates in anyway you like best to pieces, then use mktime() and then date() function. :) Niklas -----Original Message----- From: Balaji Ankem [mailto:balaji.ankem@wipro.com] Sent: 12. maaliskuuta 2002 12:35 To: niklas.lists@publico.fi; 'Php-General' Subject: RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP? Thankyou for reply!!!!!! I want to do it in PHP. Thanks in advance Balaji -----Original Message----- From: Niklas Lampén [mailto:niklas.lists@publico.fi] Sent: Tuesday, March 12, 2002 4:04 PM To: Php-General Subject: RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP? Do you want to do this in mySQL or PHP? Niklas -----Original Message----- From: Balaji Ankem [mailto:balaji.ankem@wipro.com] Sent: 12. maaliskuuta 2002 12:30 To: 'Php-General' Subject: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP? Hi, I have stored the date and time in mysql table with DATETIME type. I want to change it in to DD/MM/YYYY HH:MM AM or PM. How can I do this? Thanks in advance Balaji -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#88177) next »