Bug 1110102 - [v2.2] Add test to verify that the video recording stops i...

...mmediately when going to homescreen
This type conversion is only used in this test, to help assert the time with a margin of error. Other tests do not require the conversion and expect the information in ```time``` format.