# Creating a scheduling system with dates?

**URL:** <https://forums.fusetools.com/t/creating-a-scheduling-system-with-dates/2056>\
**Category:** General\
**Created:** [February 1, 2018, 7:44am UTC](https://forums.fusetools.com/t/creating-a-scheduling-system-with-dates/2056 "2018-02-01T07:44:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caleb\_Strong](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/caleb_strong/32/515_2.png) [@Caleb\_Strong](https://forums.fusetools.com/u/Caleb_Strong)\
**Post date:** [February 1, 2018, 7:44am UTC](https://forums.fusetools.com/t/creating-a-scheduling-system-with-dates/2056/1 "2018-02-01T07:44:28Z")

</div>

Hey so, quick question, Im currently trying to figure out a way to implement a way for people to be able to pick a day within 3 weeks of the current day for their service, but I don’t know how to implement dates very well for this type of case in fusetools. Any suggestions or links to where I could find some ideas?

Here is the UX code for what it more or less looks like, I just need these days to have a date attached to them, not just be a simple string.

 This Week 

```
			<SASi.Text FontSize="24" Alignment="Center" Margin="0,20,0,20" >Next Week</SASi.Text>
			<SASi.DateButton Text="Monday" Clicked="{NextMonday}" />
			<SASi.DateButton Text="Tuesday" Clicked="{NextTuesday}" />
			<SASi.DateButton Text="Wednesday" Clicked="{NextWednesday}" />
			<SASi.DateButton Text="Thursday" Clicked="{NextThursday}" />

			<SASi.Text FontSize="24" Alignment="Center" Margin="0,20,0,20" >Two Weeks</SASi.Text>
			<SASi.DateButton Text="Monday" Clicked="{TwoMonday}" />
			<SASi.DateButton Text="Tuesday" Clicked="{TwoTuesday}" />
			<SASi.DateButton Text="Wednesday" Clicked="{TwoWednesday}" />
			<SASi.DateButton Text="Thursday" Clicked="{TwoThursday}" />
		</StackPanel>
	</ScrollView>
```

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [February 1, 2018, 7:55am UTC](https://forums.fusetools.com/t/creating-a-scheduling-system-with-dates/2056/2 "2018-02-01T07:55:03Z")

</div>

Hi Caleb,

there is [DatePicker](https://www.fusetools.com/docs/fuse/controls/datepicker) which sounds like what you could use. And Fuse happily works with [moment.js](http://momentjs.com/) which could also help.

Other than that, please ask more specific questions and we’ll do our best to help.

---

<div class="post-metadata">

**Author:** ![Caleb\_Strong](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/caleb_strong/32/515_2.png) [@Caleb\_Strong](https://forums.fusetools.com/u/Caleb_Strong)\
**Post date:** [February 1, 2018, 8:13pm UTC](https://forums.fusetools.com/t/creating-a-scheduling-system-with-dates/2056/3 "2018-02-01T20:13:49Z")

</div>

Thanks Uldis,

So far so good. However, for example with that DatePicker, is there was way to set the date to just be todays date everytime it loads? and then set the max date to 14 days after that day? Or when you initialize the dates, do they have to be an exact date, like “2007-02-14T00:00:00.000Z”?

---

<div class="post-metadata">

**Author:** ![Caleb\_Strong](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/caleb_strong/32/515_2.png) [@Caleb\_Strong](https://forums.fusetools.com/u/Caleb_Strong)\
**Post date:** [February 2, 2018, 6:12am UTC](https://forums.fusetools.com/t/creating-a-scheduling-system-with-dates/2056/4 "2018-02-02T06:12:22Z")

</div>

Actually, I figured it out. Thanks!
