feat($time): create time service

Add simple $time service to allow easier mocking dates in applications.

Closes #10402
I actually return function - the doc was wrong.