I have a date field [CourseDate] that I need to return as:
yyyy01 if the record falls between 1st Jan and 30 June of any year
or
yyyy02 if the record falls between 1st Jul and 31 Dec of any year
Eg. If a course was on 03/02/2009, result would be 200901 etc.
yyyy01 if the record falls between 1st Jan and 30 June of any year
or
yyyy02 if the record falls between 1st Jul and 31 Dec of any year
Eg. If a course was on 03/02/2009, result would be 200901 etc.