You are here:
Specify a Date Format for Locales
You can now modify the date settings format in Business Manager so that the script API
method dw.util.Calendar.getFirstDayOfWeek() returns the first
day of the week in the date format used by your site locale. Previously, you couldn’t modify the
date format to match the local or regional context.
How: You configure the date setting format in . For your locale, select the Regional Settings and modify the Date Settings. The
date setting format affects Business Manager related Date Picker interfaces. The setting also
sets the date format of the returned date value for the Script API method dw.util.Calendar.getFirstDayOfWeek().
