Search found 2 matches

by BarryStains
Sat Sep 08, 2018 7:17 am
Forum: Questions & Answers
Topic: Adjust a date by month
Replies: 5
Views: 2544

Re: Adjust a date by month

That's all fine and dandy until you encounter Dec 31st. That would make it Feb 31st which is invalid. Then you have to worry about leap year and other months that only have 30 days in them. That logic is something usually built into most programming languages date functions. I could build a complete...
by BarryStains
Fri Aug 24, 2018 4:00 am
Forum: Questions & Answers
Topic: Adjust a date by month
Replies: 5
Views: 2544

Adjust a date by month

Does anyone have a way of adjusting a date by more than just days. For example, if I use the adjust function on date of say 08/30/2018 and say 60 days (because I really want 2 months), I get 10/29/2018 not 10/30/2018 (which is what the end user would expect to see). There doesn't seem to be an easy ...