Date format: Difference between revisions

Content deleted Content added
Shuisman (talk | contribs)
→‎{{header|Python}}: Update second example to conform with new requirements
Line 2,720:
<lang python>import datetime
today = datetime.date.today()
# The first reequested format is a method of datetime objects:
# This one is built in:
print today.isoformat()
# For full flexibility, use the formatting codes:
# Or use a format string for full flexibility:
print today.strftime('"%Y-A, %m-B %d', %Y")</lang>
</lang>
 
=={{header|R}}==