3.0 add context setter and improve time helper docs.

Related to #4149 and #4133.
Not anymore