# Datetime picker - change first day of the week?

**URL:** <https://forum.inductiveautomation.com/t/datetime-picker-change-first-day-of-the-week/57353>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 18, 2022, 7:55am UTC](https://forum.inductiveautomation.com/t/datetime-picker-change-first-day-of-the-week/57353 "2022-03-18T07:55:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herman\_Lundberg](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@Herman\_Lundberg](https://forum.inductiveautomation.com/u/Herman_Lundberg)\
**Post date:** [March 18, 2022, 7:55am UTC](https://forum.inductiveautomation.com/t/datetime-picker-change-first-day-of-the-week/57353/1 "2022-03-18T07:55:32Z")

</div>

Is there a way to change the first day of the week for the datetime picker in perspective? In Sweden it’s unsusal to put Sunday as the first day of the week and I can’t seem to find a way to change it.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 18, 2022, 9:16am UTC](https://forum.inductiveautomation.com/t/datetime-picker-change-first-day-of-the-week/57353/2 "2022-03-18T09:16:38Z")

</div>

well... idk if its easier by now but i have made a bunch of css that did this.

> [@Css to change datepicker calender to be mon-\>sun instead of sun-\>sat](https://forum.inductiveautomation.com/t/css-to-change-datepicker-calender-to-be-mon-sun-instead-of-sun-sat/48943):
>
> For those who want it, here is the magic! its not perfect but eh: [image] for theme.css .iaDateRangePicker .calendarBar { grid-template-columns: none; } .calendarBar \> div:nth-child(1) { grid-area: 1/8/1/8 !important; } .iaDateRangePicker .calendar{grid-template-columns: none;} .calendar \> div[style$="2;"]{ grid-column-start: 8 !important; grid-column-end: 8 !important;}.calendar \> div[style^="grid-area: 1"]{ grid-row-start: 2 !important;}.calendar \> div[style^="grid-area: 2"]{ grid-row-start…

---

<div class="post-metadata">

**Author:** ![Herman\_Lundberg](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@Herman\_Lundberg](https://forum.inductiveautomation.com/u/Herman_Lundberg)\
**Post date:** [March 18, 2022, 10:40am UTC](https://forum.inductiveautomation.com/t/datetime-picker-change-first-day-of-the-week/57353/3 "2022-03-18T10:40:04Z")

</div>

Thanks! It worked like a charm!
