G
GA
I need to find out what key stage pupils are at by reference to their
date of birth and it's got me stumped.
The key stages are in years running from 1st September to the
following 31st August and for example a child at key stage 1 will be 5
on or before the start of the current Sept-Aug period and will remain
in the key stage for 3 years.
I have no problem getting an age, year born, subtracting or adding x
number of years to the birth year but my problem starts here.
Question - If I have got a variable intYear = 1998 then how do I make
01/09 + intYear into #01/09/1998# so I can use it in my if statements.
If anybody already has a fuinction or code snippet that does this that
they would be willing to share I would be very grateful.
TIA
GA
date of birth and it's got me stumped.
The key stages are in years running from 1st September to the
following 31st August and for example a child at key stage 1 will be 5
on or before the start of the current Sept-Aug period and will remain
in the key stage for 3 years.
I have no problem getting an age, year born, subtracting or adding x
number of years to the birth year but my problem starts here.
Question - If I have got a variable intYear = 1998 then how do I make
01/09 + intYear into #01/09/1998# so I can use it in my if statements.
If anybody already has a fuinction or code snippet that does this that
they would be willing to share I would be very grateful.
TIA
GA