Add 1 day macro.
Change float to CGFloat to eliminate 64-bit compiler warning.
Fix parameter value.