you first calculate how many hours in advance you wish to set the time. Ie. in 6 months (24 * 365/2) and then add this to the GMT time as below in zpt format... <span tal:replace="python:template.bobobase_modification_time().toZone('GMT+4380').strftime('%a, %d %b, %Y %X')" /> cheers, wayne --- In zope@yahoogroups.com, drew nichols <drew@m...> wrote:
How do i add 6 months to a new DateTime()
TIA
--------
_______________________________________________ Zope maillist - Zope@z... http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com