Dim mDocDtT As Date
Dim mDtPeriod as Integer = 4
mDocDtT = DateAdd(DateInterval.Month, mDtPeriod, mDocDtT)
mDocDtT = Format(mDocDtT, "yyyy-MM-dd")
But the codes are not working the date is still in #01/27/2011# format
I want it in yyyy-MM-dd format
Please help!!!