on 05-15-2018 8:03 PM
Hi Guys, please, I need to calculate the first and last day of a previous month for a giving date in IDT. Any help is much appreciated.
Regards,
Iv P.
Hi Jyothirmayee , thanks for your feedback. I made little changes and It worked.
Regards,
Iv.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this formula in IDT:
add_months(add_days((date-field),-extract(day from ( date-field ))),+1)
You can also try LAST_DAY()
Thanks,
Jothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.