diff --git a/functions/datetime.xml b/functions/datetime.xml
index 84e708a5a3..b6c4cc1886 100644
--- a/functions/datetime.xml
+++ b/functions/datetime.xml
@@ -332,7 +332,7 @@ $today = date("H:i:s"); // 17:16:17
- "wday" - day of the week, numeric : from 0 as Sunday upt to 6 as Saturday
+ "wday" - day of the week, numeric : from 0 as Sunday up to 6 as Saturday