We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2818b8 commit b7d3e8bCopy full SHA for b7d3e8b
Release/src/utilities/asyncrt_utils.cpp
@@ -759,7 +759,7 @@ utility::string_t datetime::to_string(date_format format) const
759
}
760
761
const int64_t epochAdjusted = static_cast<int64_t>(m_interval) - NtTo1900OffsetInterval;
762
- const int64_t secondsSince1900 = static_cast<int64_t>(epochAdjusted / _secondTicks); // convert to seconds
+ const int64_t secondsSince1900 = epochAdjusted / _secondTicks; // convert to seconds
763
const int fracSec = static_cast<int>(epochAdjusted % _secondTicks);
764
765
const auto yearData = compute_year(secondsSince1900);
0 commit comments