End of Month

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
GSL
Posts: 96
Joined: Tue Oct 10, 2017 12:44 pm

End of Month

Post by GSL » Fri May 30, 2003 4:18 pm

Do you have an easy way to create calculate fileds for first of the month and end of month base on a date filed? For example: the due date is 7/15/03, the first of the month = 7/1/03 and end of the month = 7/31/03.____Thanks.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: End of Month

Post by kfleming » Fri May 30, 2003 7:04 pm

[updated:LAST EDITED ON May-30-03 AT 07:05 PM (EST)]For the start of month you can use:__DATEFLD-day(DATEFLD)+1__For the last day of the month you can use:__ADDMONS(DATEFLD,1)-DAY(ADDMONS(DATEFLD,1))______Kathleen__R&R Support

Post Reply