[Zope] How do I test a date to be valid?

Jeff Nielsen Jeff at UgoFast.com
Tue Sep 23 00:30:36 EDT 2003


Yes, dtml-try works quite nicely...
 
dtml-try
  BeginDate = _.DateTime(BeginDateMonth + '/' + BeginDateDay + '/' +
BeginDateYear)
dtml-except
  BeginDateError = 'Date Event Begins is not Valid'
/dtml-try
 
Thanks for the help.
 
Jeff Nielsen
http://www.UgoFast.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zope.org/pipermail/zope/attachments/20030922/5f1fed1f/attachment.html


More information about the Zope mailing list