B
bruce
The input for this this code is YearT=2010, MonthIndex=3, DayT = 27,
Start_HourT = 22, Start_MinutesT=15,
End_HourT = 20, End_MinutesT = 15
var InputStart = new Date();
var InputEnd = new Date();
InputStart = Date(YearT, MonthIndex, DayT, Start_HourT,Start_MinutesT,
0,0);
InputEnd = Date(YearT, MonthIndex, DayT, End_HourT, End_MinutesT,0,0);
alert(Start_HourT + ":" + End_HourT); // output is 22:20 Correct
output
alert("==: " + (InputStart == InputEnd)); // Output is true?? Output
Not Correct
How am I "Misusing" JavaScript???
Thanks....
Start_HourT = 22, Start_MinutesT=15,
End_HourT = 20, End_MinutesT = 15
var InputStart = new Date();
var InputEnd = new Date();
InputStart = Date(YearT, MonthIndex, DayT, Start_HourT,Start_MinutesT,
0,0);
InputEnd = Date(YearT, MonthIndex, DayT, End_HourT, End_MinutesT,0,0);
alert(Start_HourT + ":" + End_HourT); // output is 22:20 Correct
output
alert("==: " + (InputStart == InputEnd)); // Output is true?? Output
Not Correct
How am I "Misusing" JavaScript???
Thanks....