3.0 add context setter and improve time helper docs.

Related to #4149 and #4133.
Ok I can remove all the strftime references.