Move getTime implementation to hrPlatform