The expression
=Year(Now())
displays all four digits of the current year (for example, 1999).
In order to display only the last two digits of the year (for example, 99), use one of the following expressions:
=Format(Now(),"yy")
-or-
=Right(Str(Year(Now())),2)
The breakdown of expression 2 is as follows:
- Now() returns today's date and time.
- Year(Now()) returns the current year.
- Str(...) converts the date to a String data type.
- Right(...,2) returns the right two characters.
=Year(Now()) Mod 100