JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
Coda Template : Days, Weeks and Months
A go to template on date related issues
Days
Weeks
Months
Extra
More
Share
Explore
Extra
Date Ranges I
Date Ranges II
A Max Method and Contribution in the
community
:
daysText
→
1,2,3,4,10,11,12 ,16,20,21,22,23,30,31
→ a list of dates when the resource is available
daysList
→
1
2
3
4
10
11
12
16
20
21
22
23
30
31
→ converted into a list structure
gaps
→
4:10
12:16
16:20
23:30
→ the gaps in the list of dates
4:10
12:16
16:20
23:30
ranges
→
1
4
10
12
16
16
20
23
30
31
→ the start and end dates of the ranges when person is available
rangeText
→
1-4
4-10
10-12
12-16
16-16
16-20
20-23
23-30
30-31
→ the ranges expressed as list of texts
The Inverse
5
6
7
8
9
13
14
15
17
18
19
24
25
26
27
28
29
9-13
15-17
19-24
5
9
13
15
17
19
24
29
5-9
9-13
13-15
15-17
17-19
19-24
24-29
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.