Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
B2C Commerce Release Notes
Specify a Date Format for Locales

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 Business Manager | Administration | Global Preferences | Locales. 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().

 
Loading
Salesforce Help | Article