change getting timestamp value
 - ie8 supported