Time check

added time.js to check the date