/
dayOfWeek
dayOfWeek
Description
Returns the day of week. English only. One of the following string values: "Sun","Mon","Tue","Wed","Thu","Fri","Sat".
Parameters
Return Type
String
Examples
Example 1
print("Today is " + dayOfWeek(currentDate()));
Example 2
date varDateTime = "2011-08-17T18:30:55";
print("Day of week is " + dayOfWeek(varDateTime));
Print Day of week is Wed
See also
Related content
day
More like this
Date and Interval Functions
Date and Interval Functions
Read with this
dayOfWeek
dayOfWeek
More like this
startOfMonth
startOfMonth
Read with this
dayOfWeek
dayOfWeek
More like this
Operators reference
Operators reference
Read with this