RedJumpsuit

jobberBase custom development and support

 

Code School

Displaying Current Date

if you want to display the current date on your website (as shown on obitwaryo.net) you can use this script.

{$smarty.now|date_format:"%A, %B %e, %Y"}

and it will show:

Sunday, November 29, 2009

you can place it on header.tpl or footer.tpl or sidebar.tpl whichever you prefer.

Tagged as: , , , , ,

2 Comments

Code School

  1. Where i can enter & translate the days in other language?

  2. hi, i’m not sure about translating the days…try and search google 😉

Leave a Response