Wednesday 05 January 2005 2:53:29 am
chosen_day=currentdate()|datetime( custom, '%d') should work. (I just added a pair of round brackets after currentdate.) If it still does not work, then the problem might lie elsewhere and you would have to be more specific about it.
Which eZ publish version do you use?
In which context do you use these lines?
Did you init "chosen_day" with let? How are you trying to use the var? But that's just in case the round brackets won't do the trick.
|