We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call FileTimeToLocalFileTime before calling FileTimeToSystemTime to correct the time zone of FILETIME
std::string convert_filetime_string ( const FILETIME from ) { SYSTEMTIME stime; FILETIME localFileTime; FileTimeToLocalFileTime(std::addressof(from), std::addressof(localFileTime)); ::FileTimeToSystemTime(std::addressof(localFileTime), std::addressof(stime)); std::string to = convert_systemtime_string(stime); return to; }
The text was updated successfully, but these errors were encountered:
Fix timestamp offset (issue pathtofile#21)
dd1ea6b
No branches or pull requests
Call FileTimeToLocalFileTime before calling FileTimeToSystemTime to correct the time zone of FILETIME
std::string convert_filetime_string
(
const FILETIME from
)
{
SYSTEMTIME stime;
FILETIME localFileTime;
FileTimeToLocalFileTime(std::addressof(from), std::addressof(localFileTime));
::FileTimeToSystemTime(std::addressof(localFileTime), std::addressof(stime));
std::string to = convert_systemtime_string(stime);
return to;
}
The text was updated successfully, but these errors were encountered: