# Ionic datetime v6

**URL:** <https://forum.ionicframework.com/t/ionic-datetime-v6/218889>\
**Category:** Ionic Framework\
**Created:** [December 29, 2021, 7:30pm UTC](https://forum.ionicframework.com/t/ionic-datetime-v6/218889 "2021-12-29T19:30:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![briantyutyunik](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@briantyutyunik](https://forum.ionicframework.com/u/briantyutyunik)\
**Post date:** [December 29, 2021, 7:30pm UTC](https://forum.ionicframework.com/t/ionic-datetime-v6/218889/1 "2021-12-29T19:30:12Z")

</div>

I am having an issue with date-time in ionic angular v6. I am trying to disable weekends through the entire year. Date-time only allows a selection of days allowed. For example, the issue with this is that if I disable the day 4, December 4th 2021 (Saturday), January 4th, 2022 (Tuesday), etc will be disabled. Is there a way to disable weekends only?  
 ![Screen Shot 2021-12-29 at 1.19.16 PM](https://global.discourse-cdn.com/ionicframework/original/3X/4/7/476c7d4ae3b15f21ca1f827aeb857ba42e67249a.png)  
 ![Screen Shot 2021-12-29 at 1.19.08 PM](https://global.discourse-cdn.com/ionicframework/original/3X/c/2/c20088caa381a197fc8061e5d76e6cdd77ce3611.png)
