The Arcive of vBulletin Modifications Site. |
|
interpreting the date Details »»
|
|||||||||||||||||||||||||
If you pull a date value from the vB database, how do you convert it into day and time text for display?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Use the date() function, like this:
Code:
$formattedDate = date("FORMAT", $row['dateline']);
|
![]() |
|
|