Dispaly time using javascript