Progress bar

Hey guys can anyone tell me how to set time to fill the progress bar…

Create a timer.
And update the progress bar manually …