If the HVAC isn't running, it wont remove moisture.
When the sun goes down there is less heat load so the unit reaches setpoint and shuts down.
You can off set this somewhat by lowering your night time set point.
FYI, Humidity problems are often caused by oversized units.
How many sq ft?