Date format: Difference between revisions
Content deleted Content added
m →{{header|Python}}: Update second example to conform with new requirements |
m →{{header|Python}}: Update second example to conform with new requirements |
||
Line 2,722:
# The first requested format is a method of datetime objects:
print today.isoformat()
# For full flexibility, use the formatting codes
print today.strftime("%A, %B %d, %Y")
</lang>
|