Skip to end of banner
Go to start of banner

dayOfWeek

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

  • No labels