Last active
December 4, 2019 01:00
-
-
Save yatakeke/6e6a7727e679772d7c6fa8cee929fe8c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from datetime import datetime as dt | |
def get_timestamp(): | |
dt_obj = dt.now() | |
return dt_obj.strftime("%Y/%m/%d, %H:%M:%S") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment