diff options
Diffstat (limited to 'forum/utils/time.py')
-rwxr-xr-x | forum/utils/time.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/forum/utils/time.py b/forum/utils/time.py new file mode 100755 index 00000000..39e01d0f --- /dev/null +++ b/forum/utils/time.py @@ -0,0 +1,4 @@ +import datetime + +def one_day_from_now(): + return datetime.datetime.now() + datetime.timedelta(days=1) |