using javascript dates, to trigger local times.