macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: PHP Date Funcing using recordset

Subject: Re: PHP Date Funcing using recordset
From: "Ken Ford - *ACE*" <newsgroups2@xxxxxxxxxxxx>
Date: Fri, 29 Aug 2008 23:04:32 -0500
Newsgroups: macromedia.dreamweaver.appdev


Try this:

<?php echo date("M j, Y", strtotime($row_userIDs['dateOfReg'])); ?>

http://us2.php.net/date

http://us.php.net/strtotime

--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Fordwebs, LLC
http://www.fordwebs.com


"AdonaiEchad" <webforumsuser@xxxxxxxxxxxxxx> wrote in message news:g9aesk$eh1$1@xxxxxxxxxxxxxxxxxxxxxxxx
How do I make a date function using php and my recordset. I tried this method but I am getting an error. <?php echo date($row_userIDs['dateOfReg'], "M j, Y"); ?>


<Prev in Thread] Current Thread [Next in Thread>