View Single Post
Old 04-14-2009, 01:37 PM   #2 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

You can write characters in the date() format parameter aslong you escape them:

PHP Code:
echo date('<\s\p\a\n \s\t\y\l\e="\c\o\l\o\r: \b\l\u\e;">H:i:s</\s\p\a\n> - j/n - Y'); 
Its really ugly, and you only need to escape characters thats not "special", alternatively you can have multiple date calls
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote