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;
| SitePoint Sponsor |
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;
Bookmarks