[Tutor] Through a glass, darkly: the datetime module

Steven D'Aprano steve at pearwood.info
Sun Oct 7 16:04:34 CEST 2012


On 07/10/12 23:41, Mark Lawrence wrote:
> On 07/10/2012 02:50, Steven D'Aprano wrote:
>> On 07/10/12 12:08, Richard D. Moores wrote:
>>> On Sat, Oct 6, 2012 at 4:42 PM, Mark
>>> Lawrence<breamoreboy at yahoo.co.uk> wrote:
>>>
>>>> Use calendar.day_name.
>>>
>>> How?
>>
>> By reading the Fine Manual.
>>
>> http://docs.python.org/library/calendar.html#calendar.day_name
>>
>> which is so short that I can copy it here:
>>
>> calendar.day_abbr
>> An array that represents the abbreviated days of the week in
>> the current locale.
>
> May I suggest a vist to the opticians. Or is this another test to see that we're all paying attention? :)

Hah, good catch!

Sorry about that.




-- 
Steven


More information about the Tutor mailing list