VOC:
Most of these VOCs will flash off prior to full cure and within the first 24 hours. There will be some residual that come out after that.
Fully gasses off 30 to 60 days, This varies with climate air temperature and humidity.
Formaldehyde:
All conversion varnish and enamels have formaldehyde in it due to the cross linking of the resin system.
Majority of cabinetry products on the market have formaldehyde.
Most of the formaldehyde is off gases in the initial cure, but there will be unknown amounts while the product is fully curing.
This can take 30 up to 60 days to fully gas off any minimal remaining traces. This varies with climate air temperature and humidity.