schoolyear

  • Thread starter Jean-Paul De Winter
  • Start date
J

Jean-Paul De Winter

Hi,
I need a field on my form that contains current schoolyear...
Now we are in the schoolyear 2006-2007.
Over here a schoolyear runs from september to june of the following year
so, when the current date is sept 02 2007 the entryfield should change
into 2007-2008...
Hope I explain it correctly
Thanks
JP
 
B

Brendan Reynolds

=IIf(Month(Date()) Between 9 And 12, Year(Date()) & "-" & Year(Date())+1,
Year(Date())-1 & "-" & Year(Date()))

The above treats the summer holiday period as part of the previous school
year, e.g. after the end of June 2007, it will continue to display
'2006-2007' until 1st September. You'll need to modify it if you want to
treat the summer holiday period differently.
 
C

CurtainMary

What a pity you have to resort to that. Our school year is the current year
CurtainMary
 
J

Jean-Paul De Winter

Great... perfect help..
Thanks
JP

Brendan Reynolds said:
=IIf(Month(Date()) Between 9 And 12, Year(Date()) & "-" & Year(Date())+1,
Year(Date())-1 & "-" & Year(Date()))

The above treats the summer holiday period as part of the previous school
year, e.g. after the end of June 2007, it will continue to display
'2006-2007' until 1st September. You'll need to modify it if you want to
treat the summer holiday period differently.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top