diff --git a/functions/datetime.xml b/functions/datetime.xml
index d3452ace36..84e708a5a3 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
+ "wday" - day of the week, numeric : from 0 as Sunday upt to 6 as Saturday