J
johndgraham
I have two dates, I would like to have formatted on my report as:
Month, startDay - endDate, year
I've put something together but its not quite right:
=Format([startdate],"mmmm") & " " & Format([startdate],"d") & "-" &
Format([enddate],"d") & ", " & Format([enddate],"yyyy")
This works with two exceptions:
1) when the two dates span a month, for example March 31 - 1, 2009
should be March 31 - April 1, 2009
2) When the dates are actually only one. for example March 31 - 31,
2009 should be March 31, 2009
Anyone have this already coded?
thanks,
John
Month, startDay - endDate, year
I've put something together but its not quite right:
=Format([startdate],"mmmm") & " " & Format([startdate],"d") & "-" &
Format([enddate],"d") & ", " & Format([enddate],"yyyy")
This works with two exceptions:
1) when the two dates span a month, for example March 31 - 1, 2009
should be March 31 - April 1, 2009
2) When the dates are actually only one. for example March 31 - 31,
2009 should be March 31, 2009
Anyone have this already coded?
thanks,
John