# how to turn off days on DAtepicker

**URL:** <https://community.ofelia.com/t/how-to-turn-off-days-on-datepicker/7777>\
**Category:** Q&A\
**Created:** [15 September 2016 10:56 UTC](https://community.ofelia.com/t/how-to-turn-off-days-on-datepicker/7777 "2016-09-15T10:56:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrakunDry](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/drakundry/32/1214_2.png) [@DrakunDry](https://community.ofelia.com/u/DrakunDry)\
**Post date:** [15 September 2016 10:56 UTC](https://community.ofelia.com/t/how-to-turn-off-days-on-datepicker/7777/1 "2016-09-15T10:56:49Z")

</div>

Hi,  
I want to turn off days in my datepicker. because i have an application with holidays excludes.

Thanks

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [15 September 2016 20:44 UTC](https://community.ofelia.com/t/how-to-turn-off-days-on-datepicker/7777/2 "2016-09-15T20:44:36Z")

</div>

Not is the basic datepicker.

I would use a custom datepicker.

regards  
Seán

_PS: While I understand this may not be the answer you are looking for it does answer your question, please mark as resolved by ticking the tick mark on the left of this reply so others now it is closed._

---

<div class="post-metadata">

**Author:** ![DrakunDry](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/drakundry/32/1214_2.png) [@DrakunDry](https://community.ofelia.com/u/DrakunDry)\
**Post date:** [15 September 2016 23:12 UTC](https://community.ofelia.com/t/how-to-turn-off-days-on-datepicker/7777/3 "2016-09-15T23:12:09Z")

</div>

hi sean how are you, thanks for comment . i will try to create an custom widget datepicker and i will share it

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [15 September 2016 23:24 UTC](https://community.ofelia.com/t/how-to-turn-off-days-on-datepicker/7777/4 "2016-09-15T23:24:13Z")

</div>

Here are a couple of google search results that might help:

[https://davidwalsh.name/jquery-datepicker-disable-days](https://davidwalsh.name/jquery-datepicker-disable-days)

This one I like because it also refers to a country

[http://stackoverflow.com/questions/501943/can-the-jquery-ui-datepicker-be-made-to-disable-saturdays-and-sundays-and-holid](http://stackoverflow.com/questions/501943/can-the-jquery-ui-datepicker-be-made-to-disable-saturdays-and-sundays-and-holid)

regards

---

<div class="post-metadata">

**Author:** ![DrakunDry](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/drakundry/32/1214_2.png) [@DrakunDry](https://community.ofelia.com/u/DrakunDry)\
**Post date:** [16 September 2016 00:51 UTC](https://community.ofelia.com/t/how-to-turn-off-days-on-datepicker/7777/5 "2016-09-16T00:51:41Z")

</div>

Cool links. But i will try to do that angularjs because i have an list of days i would like to disable in date picker.  
Real thanks
