Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate number of days

How do we calculate the number of days in a month?

1 Solution

Accepted Solutions
Nicole-Smith

Or even simpler:

day(monthend(DateField))

View solution in original post

4 Replies
Nicole-Smith

round(monthend(DateField)-monthstart(DateField))

Anonymous
Not applicable
Author

=Day(Monthend(Date Field))-Day(Monthstart(Date Field))

Nicole-Smith

Or even simpler:

day(monthend(DateField))

VishalWaghole
Specialist II
Specialist II

Hi Anitha,

You can try,

Day(MonthEnd(DateField)) as NoOfDays

- Regards,

Vishal Waghole