diff options
author | AL-LCL <alvin@alvinhavel.com> | 2023-05-19 11:01:49 +0200 |
---|---|---|
committer | AL-LCL <alvin@alvinhavel.com> | 2023-05-19 11:01:49 +0200 |
commit | 20dbeb2f38684c65ff0a4b99012c161295708e88 (patch) | |
tree | a5b8445f55da2fbbb92443b68e9d7354a290c598 /domestic/utility/get_timestamp.py |
Diffstat (limited to 'domestic/utility/get_timestamp.py')
-rw-r--r-- | domestic/utility/get_timestamp.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/domestic/utility/get_timestamp.py b/domestic/utility/get_timestamp.py new file mode 100644 index 0000000..2d70d8f --- /dev/null +++ b/domestic/utility/get_timestamp.py @@ -0,0 +1,5 @@ +import time + + +def get_timestamp(): + return time.strftime(f'%Y-%m-%d (%H-%M-%S)')
\ No newline at end of file |