"Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
news:Xns93A963C14A632eejj99@194.109.133.29...
> Chris Hohmann wrote on 29 jun 2003 in
> microsoft.public.inetserver.asp.general:
>
> > "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
> > news:#LamsyKPDHA.3152@TK2MSFTNGP10.phx.gbl...
> >
> >> Or even shorter:
> >>
> >> YourVariable = Right("00" & Month(Date), 2)
> >
> > Shorter still ;)
> > YourVariable = Right("0" & Month(Date), 2)
>
> Or for a change ;-}
> YourVariable = Right(100 + Month(Date), 2)
>
YourVariable = Month(Date)\10 & Month(Date) Mod 10
Note: May fail on or about midnight, September 30th