04-04-2007, 10:06 AM
|
#3 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
If you're using dates, then php's date function is much more flexible. The "th/st/rd" suffixes are available by using S in the formatting string.
PHP Code:
<?php
$date = now(); echo date('F jS', $date); // April 4th
?>
|
|
|
|