function yeartostr(date)
{
    var dateline = date.getFullYear();
    return dateline;
}
