# DateTimeInput calendar start day

**URL:** <https://forum.inductiveautomation.com/t/datetimeinput-calendar-start-day/79214>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 15, 2023, 1:51pm UTC](https://forum.inductiveautomation.com/t/datetimeinput-calendar-start-day/79214 "2023-09-15T13:51:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik.forsgren](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/erik.forsgren/32/14156_2.png) [@erik.forsgren](https://forum.inductiveautomation.com/u/erik.forsgren)\
**Post date:** [September 15, 2023, 1:51pm UTC](https://forum.inductiveautomation.com/t/datetimeinput-calendar-start-day/79214/1 "2023-09-15T13:51:07Z")

</div>

Hi!  
I am trying to change what day of week the DateTimeInput calendar popup starts with.  
Here in Sweden we really like to start with Monday instead of Sunday.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/7/4728f2ef9a723a5718bb114777aa1f2775850ad9.png)

I cant figure out how to do this.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 15, 2023, 2:25pm UTC](https://forum.inductiveautomation.com/t/datetimeinput-calendar-start-day/79214/2 "2023-09-15T14:25:13Z")

</div>

A fellow countryman asked this question before. The answer is that the component doesn't support it but some magic can be applied and Victor supplied an answer that seemed to work.

> [@Datetime picker - change first day of the week?](https://forum.inductiveautomation.com/t/datetime-picker-change-first-day-of-the-week/57353/1):
>
> 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:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [September 15, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/datetimeinput-calendar-start-day/79214/3 "2023-09-15T14:40:26Z")

</div>

Pascal just mentioned this in one of his posts yesterday:

> [@\[FEATURE\] Allow styling dates in the datetime picker calendar component](https://forum.inductiveautomation.com/t/feature-allow-styling-dates-in-the-datetime-picker-calendar-component/79132/2):
>
> I'd also like to see more customization options for the date components, notably the possibility to change the starting day of rows - weeks go from Monday to Sunday in France, having rows start with Sunday can be a bit counter-intuitive. Maybe the possibility to select a full week too ? As always, there are ways of doing this as is. But frankly it's not worth the time it takes to get good results, for example you could change the grid-area to make rows start with Monday, but then you end up w…

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 15, 2023, 3:31pm UTC](https://forum.inductiveautomation.com/t/datetimeinput-calendar-start-day/79214/4 "2023-09-15T15:31:08Z")

</div>

It's far from perfect. Things tend to get out of place quickly.  
For example, the previous/next month days used to fill the empty spaces are still there, so you get lines with only useless days AND empty spaces, and when it creates a new line the popup doesn't scale.  
I'd rather keep Sunday-starting rows than mess the whole thing up.

I guess it's all fixable, but frankly it gets way too messy and complicated just for this.
