diff --git a/MantleAPI/include/MantleAPI/Common/time_utils.h b/MantleAPI/include/MantleAPI/Common/time_utils.h
index 6d4ac464fa73d96867d13529b947534bdb96776b..a62add5c5d0a2b5a2cc8eeac6156fade07c0af35 100644
--- a/MantleAPI/include/MantleAPI/Common/time_utils.h
+++ b/MantleAPI/include/MantleAPI/Common/time_utils.h
@@ -26,7 +26,7 @@ using Time = units::time::millisecond_t;
 /// @return Duration representing the given input in units of @ref Time.
 inline Time SecondsToTime(double duration)
 {
-  return units::time::second_t(duration);
+  return {std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::duration<double>{duration})};
 }
 
 /// @brief Converts input @ref Time to [s].