Users Pricing

forum

home / developersection / forums / getting month and year date format in vbscript

Getting month and year date format in vbscript

Pravesh Singh 2835 20 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


Student


1 Answers