﻿function checkDate(Day, Month, Year)
    {
    var myDate = new Date();
    myDate.setFullYear(Year, (Month - 1), Day);

    if (myDate.getMonth() != (Month - 1)) 
        return false;
    else 
        return true;
}
 

