display server date in us-format (mm/dd/yyyy)
{mpf:date=us}
use as conditional section (use with closing token)
{mpf:date=us||++#02/01/2000}
... this string will be displayed after 02/01/2000 ...
{/mpf:date=us||++#02/01/2000}
check/display date in future/past
{mpf:date=us||create=02/01/2000}
create your own time-format [11:58 am]
{mpf:date=time12 day_time}
creating your own day-names (use with closing token)
{mpf:date=day_week||==0}{mpf:set=day||data=Sun}{/mpf:date=day_week||==0}
{mpf:date=day_week||==1}{mpf:set=day||data=Mon}{/mpf:date=day_week||==1}
{mpf:date=day_week||==2}{mpf:set=day||data=Tue}{/mpf:date=day_week||==2}
...
{mpf:day}
creating your own day-names (use with language library)
{mpf:lang/myday{mpf:date=day_week}} *
* you must have seven tags configured in language library (myday0, myday1, myday2, myday3, myday4, myday5, myday6)
|