Added ParseDuration that can handle "d" for days.