how to calculate the time difference in javascript code example Example: calculate time difference between two dates in javascript Gettings diffrence between daytes