1
Burnzy
Smarty Date Format - How to change output
  • 2005/1/30 19:36

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


I am using the smarty date and time code:
<{$smarty.now|date_format}>

It appears as Jan 30, 2005

Is there a place to change how the date comes up? Im sure there is but not sure where...

Id like it to do like: Sunday, January 30, 2005 2:56:32 pm

Something like that or if i cant do a clock that keeps going... then just: Sunday, January 30, 2005

2
Dave_L
Re: Smarty Date Format - How to change output
  • 2005/1/30 19:39

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Is this what you're looking for?

http://smarty.php.net/manual/en/language.modifier.date.format.php

Login

Who's Online

214 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits