Skip to Content
0
Apr 11, 2014 at 12:17 PM

Last 30 Days

180 Views

Hello everyone,

I am trying to calculate last 30 days. I tried to calculate it but I had a hard time. Is there any date functions in Design Studio just minus the 30 days.

The biggest problem is some months have 30 and some have 31 day and February has 28-29 days depending on the years. I am trying to write the code with IFs, but it is hard to handle these exceptions.

Is there a better solution you could offer?

Thanks a lot.