Post

2 followers Follow
0
Avatar

Time Compliance First Day of Week

Morning all,

I've installed the time compliance app but oddly the first day of the week is Sunday instead of Monday when looking at the calendar.

How can i change the calendar so Monday is the first day of the week?

Cheers

Martin Jubb Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Martin,

This can be done by changing the code of the 2.2 action in the 'Time Reporting Compliance' custom page to Case(ToString(LatestTimesheetComplianceDate, "ddd"), "Sun", -6, "Mon", 0, "Tue", -1, "Wed", -2,"Thu", -3, "Fri", -4, -5)

I hope this helps.

Roland

Roland Pumputis 0 votes
Comment actions Permalink
0
Avatar

Thanks Roland,

Vygantas has also helped out with getting the first working day of the week in the calendar to be Monday.

Cheers

Martin Jubb 0 votes
Comment actions Permalink