Hello,
I'm trying to write a function that will accept an input parameter - Q1, Q2, Q3 or Q4 - and return two dates, a start and end date based on the value of the input parameter. So if the input was Q1, the start date would be '01/01/2013' and the end date '31/03/2013'.
I can return one date OK, but how to return the second? A 'case' statement maybe? Thanks for any help.
I'm trying to write a function that will accept an input parameter - Q1, Q2, Q3 or Q4 - and return two dates, a start and end date based on the value of the input parameter. So if the input was Q1, the start date would be '01/01/2013' and the end date '31/03/2013'.
I can return one date OK, but how to return the second? A 'case' statement maybe? Thanks for any help.
Last edited: