Share » Forums » Developer » how to calculate a future date

how to calculate a future date

how to calculate a future date

Monday 12 January 2009 11:39:37 pm - 3 replies

Author Message

Kristof Coomans

Tuesday 13 January 2009 2:44:37 am

You can use eZDate::adjustDate().

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Jacks JNK

Tuesday 13 January 2009 4:27:57 am

Can you be clear please ?

Skype : jacks_ngala

Kristof Coomans

Tuesday 13 January 2009 5:22:15 am

I assumed you wanted to know how to do this in PHP code, since you also weren't clear in which language you wanted to accomplish this :)

In template code, you'll have to use the date/time related template operators, gettime() and maketime() or makedate(). They are documented here http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/miscellaneous. Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu