diff options
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 |