Tuesday 04 January 2005 4:47:27 pm - 2 replies
Modified on Tuesday 04 January 2005 4:50:51 pm by Arran Price
Michael D.
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.
Arran Price
Wednesday 05 January 2005 11:27:53 am
thanks, a couple of brackets did the trick.I could have sworn I tried that as well.
Oh well.
thanks again
Arran
You must be logged in to post messages in this topic!