var Today = 'Fri Apr 22 2016 16:00:17 GMT+0300 (RTZ 2 (зима)', timeSharepoint = '2016-04-25T21:00:00Z'; alert(Date.parse(Today) > Date.parse(timeSharepoint))