export function isTime(time1,time2){ var time = Date.parse( new Date()); var date1 = Date.parse(new Date(time1.replace(/-/g, '/'))); var date2 = Date.parse(new Date(time2.replace(/-/g, '/'))); if (date1time) { return true; }; return false; }