Hey guys,
I'm following a tutorial on Python and I came across this in one of the examples.
import time
today = time.localtime(time.time())
theDate = time.strftime("%A %B %d", today)
print today
print theDate
Result:
(2007, 12, 20, 9, 48, 15, 3, 354, 1)
Thursday December 20
can someone explain to me the %A and the %B?
Thanks.