| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Changing images wrt to user link selection, saviornt |
|---|---|
| Next by Date: | SpryTextField on vary length of alphanumeric characters input, Dreamweaver_is_Good_ |
| Previous by Thread: | PHP Date Funcing using recordset, AdonaiEchad |
| Next by Thread: | Re: PHP Date Funcing using recordset, Joe Makowiec |
| Indexes: | [Date] [Thread] [Top] [All Lists] |