First Day of the week

isalkin
Tera Contributor

I have added the following System Property to have Sunday as the first day of the week:

glide.ui.date_format.first_day_of_week

I don't think I have entered the right value, but when I went to System Properties to change it, I did not see the property I have added.

Please advise.

1 ACCEPTED SOLUTION

Mike Allen
Mega Sage

Try looking here, as well:



Week Start and End



also, all system properties are listed in the sys_properties table.   Get to it by typing sys_properties.list in the Application Menu's Type Filter Text speace at the top of the left hand side.


View solution in original post

2 REPLIES 2

Mike Allen
Mega Sage

Try looking here, as well:



Week Start and End



also, all system properties are listed in the sys_properties table.   Get to it by typing sys_properties.list in the Application Menu's Type Filter Text speace at the top of the left hand side.


Harish Murikina
Tera Guru

Below is code in "Time card" week start on field. to get week start sunday by default. You can do it same way




javascript:var today = new GlideDateTime(gs.nowDateTime()); var dtUtil = new DateTimeUtils(); var firstDay = gs.getProperty("com.snc.time_card.start_day", 7); var start = dtUtil.getWeekStart(today, firstDay); start.getDisplayValue();