How to convert an AC volatge to DC using TRIAC?
Show your circuit. 

Obviously (?) if your trigger angle is earlier than \$\pi\$/2 then the capacitor will charge to the peak input voltage minus a few volts for the semiconductors.