The python expression syntax strikes again :( Tom Scheidt wrote: > <dtml-if "date1 == '<dtml-var ZopeTime fmt=Day>'"> You're trying to embed DTML within python here. you really want (untested): <dtml-if "date1 == _DateTime.now().Day()"> cheers, Chris