Define time conversion when using MSVC.