Update verify.c

This commit is contained in:
DavidXanatos 2022-01-06 23:09:01 +01:00
parent 8eacbef11b
commit 43f38ac959
1 changed files with 3 additions and 3 deletions

View File

@ -470,9 +470,9 @@ _FX LONGLONG KphGetDateInterval(CSHORT days, CSHORT months, CSHORT years)
{
LARGE_INTEGER date;
TIME_FIELDS timeFiled = { 0 };
timeFiled.Day = days;
timeFiled.Month = months;
timeFiled.Year = years;
timeFiled.Day = 1 + days;
timeFiled.Month = 1 + months;
timeFiled.Year = 1601 + years;
RtlTimeFieldsToTime(&timeFiled, &date);
return date.QuadPart;
}