Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Friends
As I need to store the current month and Year in a variable, what is the function available to get it.
Regards
Chriss.....
Hi,
vCurrentYear= year(today())
vCurrentMonth= month(today())
Regards
Apurva
Hello Apurva,
Thanks for your reply, my requirement is I need to store the Month and Year in a single variable
like vCurrentMonYear = June 2012. is it possible ....
Regards
Chriss
Hi,
use this-> vCurrentYM= monthname(today())
regards
Apurva
Thanks Apurva............
Hello Apurva,
I need one more favour Using Monthname(today()) I can get the Current Month and Year but when i try Monthname(today()-1) to get the previous month its not working..
Please help me...
Regards
Chriss
Hello,
Try this =Date(MonthName(Today())-1,'MMM YYYY')
Chris
No that will get the month name for yesterday. For the previous month use
MonthName(AddMonths(Today(), -1))
Regards
Jonathan
Hi,
use this
=MonthName(addmonths(today(),-1))
Regrds
Apurva
Yes, its works.... thanks a lot Apurva...