hi,
i have three vars, year,month and date.
i want it in format year-month-date.
ie, for ex, 2007-6-6.
i tried it this way but it subtracted and give the value as 1995.
how to do it. Thanks.Code:var str=year+'-'+month+'-'+date;
Printable View
hi,
i have three vars, year,month and date.
i want it in format year-month-date.
ie, for ex, 2007-6-6.
i tried it this way but it subtracted and give the value as 1995.
how to do it. Thanks.Code:var str=year+'-'+month+'-'+date;
Use somthing like this
'2007'+'-'
year , month, date are vars