problem with datetime
Posted: Sun Jul 24, 2005 9:49 am
Hi,
I am storing joindates for members using datetime format.
When they join, I am storing the date with this code:
It is storing as: 2005-07-24 08:46:00
I would like to disply the joindate as:
Sun Jun 24, 2005 8:46 am
I've been trying all sorts of ways and reading lots of posts to come up with an answer, but I am just having a brain block and hoping somene can save me time & frustration....lol
Thanks in advance!
I am storing joindates for members using datetime format.
When they join, I am storing the date with this code:
Code: Select all
$joindate = date("Y-m-d G:i:s");I would like to disply the joindate as:
Sun Jun 24, 2005 8:46 am
I've been trying all sorts of ways and reading lots of posts to come up with an answer, but I am just having a brain block and hoping somene can save me time & frustration....lol
Thanks in advance!