converted the dates to respect timezone math