Stochastic Optimization in Continuous Time