You will have the opportunity to take your classes at your convenience any time any day anywhere so far you have internet facility and a working computer or mobile device.
The duration depends on you. As soon as you complete your modules, a short test will be awaiting you. If you were able to answer those tests then your certificate will be issued.