PEAK XOOPS - Beginning date time and finishing date time format in pical in englishin japanese

Beginning date time and finishing date time format in pical

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2008/12/18 21:43
nitinshah12  伍長   Posts: 48
Currently in pical the beginning date time is displayed as 10th May 2009 Sunday and finishing date time is displayed as 10th May 2009 Sunday.

I wish to display the date as 10-05-2009 and not 10th may 2009

The function to display the beginning date time is <{$event.start_date_desc}>
and to display the finishing date time is <{$event.end_date_desc}>

I want to know the fuction to display the date in the above said format or any other format which is a bit shorter then the default one.

Thank in advance.
Votes:15 Average:8.67
Previous post - Next post | Parent - No child | Posted on 2009/2/18 9:11
skenow  二等兵 From: Minnesota  Posts: 9
You can modify the template to use whatever date format you would like - http://www.smarty.net/manual/en/language.modifier.date.format.php

<{$event.start_date_desc|date_format:"%d-%m-%Y"}>

would display as you described (10-05-2009)
Votes:14 Average:7.14

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!