Friday 30 March 2007 7:01:33 am
i have an URL like this: domain.name.com/siteaccess/home/(my_day)/31/(my_month)/03/(my_year)/2007
and i want to get the UNIX timestamp of the "date" in this url. i tried this code: {def $currentDate=maketime(0,0,0,$view_parameters.my_day,$view_parameters.my_month,$view_parameters.my_year)}
that code return a strenge date like "2009/03/07" so i tried something like {maketime(0,0,0,31,03,2007)}
allway strenge :(
can someone explain why? please ;)
|