[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference
webmaster@zope.org
webmaster@zope.org
Tue, 01 Oct 2002 10:40:53 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#3-174
---------------
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()]