現在のローカル時刻をISO8601フォーマットで表示するためのPython3のプログラム(その1)。
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 | |
# | |
import datetime | |
print(datetime.datetime.now().astimezone().isoformat()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment