I am needing some UDF's that will return the 1st and last day of the month for a given month.
I had some written in FP2.x but they no longer function correctly in VFP9, I think since dates are handled differently. I could rewrite them, but I thought someone may have already done this or maybe theres something already in VFP.
I need BOMONTH(). i.e. BOMONTH(2) returns '02/01/2006'
and EOMONTH() i.e. EOMONTH(2) returns '02/28/2006'
Is there something out there already??
Thanks
I had some written in FP2.x but they no longer function correctly in VFP9, I think since dates are handled differently. I could rewrite them, but I thought someone may have already done this or maybe theres something already in VFP.
I need BOMONTH(). i.e. BOMONTH(2) returns '02/01/2006'
and EOMONTH() i.e. EOMONTH(2) returns '02/28/2006'
Is there something out there already??
Thanks