... To receive full amount paid as future flight credit, is there a deadline prior to departure? Can I cancel two hours prior?
Yes, Yes
While you can theoretically wait till the GA closes the flight, a few hours prior to scheduled departure is less risky.