[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference

webmaster@zope.org webmaster@zope.org
Wed, 22 Jan 2003 16:59:31 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#3-180

---------------

      Return the abbreviated (with period) name of the day of the
      week

        % gaetan - Oct. 1, 2002 10:36 am:
         like Mon. for monday

        % gaetan - Oct. 1, 2002 10:40 am:
         like Mon. for monday, so you can get the whole name with Python dictionnary
         dd={"Mon.":'monday', "Tue.":'tuesday', ..., "Sun.":'sunday'} and use dd[date.pDay()]

        % Anonymous User - Jan. 22, 2003 4:59 pm:
         thiii