forum

Home / DeveloperSection / Forums / Getting month and year date format in vbscript

Getting month and year date format in vbscript

Pravesh Singh238420-Jun-2013
Hi,

Can someone please tell me how can we get data in the month and date format.In the below code it shows me the year with the same date one year ago in the format 6/18/2012 ..but I just need the month/year.

LastMonth = DateAdd("m",-12,Date)

Thanks


Updated on 20-Jun-2013

Can you answer this question?


Answer

1 Answers

Liked By