Functiondojox.date.posix.getStartOfWeek

dojo.require("dojox.date.posix");
defined in dojox/date/posix.js

Return a date object representing the first day of the given date's week.

Usage

function (/*Date*/ dateObject, /*Number*/ firstDay) (view source)
parametertypedescription
dateObjectDate 
firstDayNumber