Anonymous user
Date format: Difference between revisions
m
→{{header|Python}}: Update second example to conform with new requirements
(→{{header|Python}}: Update second example to conform with new requirements) |
m (→{{header|Python}}: Update second example to conform with new requirements) |
||
Line 2,720:
<lang python>import datetime
today = datetime.date.today()
# The first
print today.isoformat()
# For full flexibility, use the formatting codes fro the link above:
print today.strftime("%A, %B %d, %Y")
</lang>
|