Created
August 28, 2022 11:40
-
-
Save pandanote-info/8476402230fcebbe9cd85cb5dbb3117b to your computer and use it in GitHub Desktop.
現在のローカル時刻をISO8601フォーマットで表示するためのPython3のプログラム(その2)。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# See https://sidestory.pandanote.info/datetime_in_iso8601.html | |
# | |
from datetime import datetime | |
print(datetime.now().astimezone().isoformat()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment