summaryrefslogtreecommitdiffstats
path: root/forum/utils/time.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/utils/time.py')
-rwxr-xr-xforum/utils/time.py4
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)