MASM32 Downloads
Have a poke around the Windows API functions, you can do it all that way.
Where would I find what's in the Windows API?
Hi NoCforMe,https://github.com/trietptm/OllyDbg-Archive/blob/master/HLP-Files/win32.hlp
pFile Data Description Value0000B3E8 00003ADC Function RVA 0001 Date10To80000B3EC 00003613 Function RVA 0002 Date8To100000B3F0 00002363 Function RVA 0003 DateToSeconds0000B3F4 000041AC Function RVA 0004 DaysFromBOY0000B3F8 00003FF0 Function RVA 0005 DaysToEOY0000B3FC 0000640B Function RVA 0006 DaysToSeconds0000B400 00003438 Function RVA 0007 FormatDate0000B404 00003384 Function RVA 0008 FormatTime0000B408 00003F07 Function RVA 0009 GetDate0000B40C 00003D74 Function RVA 000A GetDateSeparator0000B410 00003131 Function RVA 000B GetDay0000B414 000046F9 Function RVA 000C GetDayOfWeek0000B418 00004869 Function RVA 000D GetDayOfWeekName0000B41C 00002EBA Function RVA 000E GetHours0000B420 000064A7 Function RVA 000F GetLanguageID0000B424 00002F59 Function RVA 0010 GetMinutes0000B428 00003092 Function RVA 0011 GetMonth0000B42C 000052E1 Function RVA 0012 GetMonthName0000B430 00002FF8 Function RVA 0013 GetSeconds0000B434 00003E1E Function RVA 0014 GetTime0000B438 00003BCC Function RVA 0015 GetTimeBaseLine0000B43C 00003DC3 Function RVA 0016 GetTimeSeparator0000B440 00003854 Function RVA 0017 GetTimeStamp0000B444 0000372B Function RVA 0018 GetTimeStampNow0000B448 0000436C Function RVA 0019 GetWeekNumber0000B44C 000031D0 Function RVA 001A GetYear0000B450 00006459 Function RVA 001B HoursToSeconds0000B454 00002D4F Function RVA 001C IsLeapYear0000B458 0000296A Function RVA 001D IsValidDate0000B45C 00002726 Function RVA 001E IsValidTime0000B460 000065FC Function RVA 001F IsWorkingDay0000B464 0000222E Function RVA 0020 SecondsFromMidnight0000B468 000024E5 Function RVA 0021 SecondsToDate0000B46C 00006363 Function RVA 0022 SecondsToDays0000B470 000063B7 Function RVA 0023 SecondsToHours0000B474 00003266 Function RVA 0024 SetDateSeparator0000B478 000064E9 Function RVA 0025 SetLanguageID0000B47C 00003C76 Function RVA 0026 SetTimeBaseLine0000B480 000032F5 Function RVA 0027 SetTimeSeparator0000B484 000034FF Function RVA 0028 Time6To80000B488 000039E8 Function RVA 0029 Time8To60000B48C 000020A7 Function RVA 002A TimeFromMidnight
pFile Data Description Value0000AEE4 0000D528 Hint/Name RVA 0000 FileTimeToSystemTime0000AEEC 0000D55E Hint/Name RVA 0000 GetSystemTime0000AEF0 0000D56E Hint/Name RVA 0000 SystemTimeToFileTime
https://www.softspecialists.com/utilities/smallutilitiesexports:Code: [Select]pFile Data Description Value0000B3E8 00003ADC Function RVA 0001 Date10To80000B3EC 00003613 Function RVA 0002 Date8To100000B3F0 00002363 Function RVA 0003 DateToSeconds0000B3F4 000041AC Function RVA 0004 DaysFromBOY0000B3F8 00003FF0 Function RVA 0005 DaysToEOY
pFile Data Description Value0000B3E8 00003ADC Function RVA 0001 Date10To80000B3EC 00003613 Function RVA 0002 Date8To100000B3F0 00002363 Function RVA 0003 DateToSeconds0000B3F4 000041AC Function RVA 0004 DaysFromBOY0000B3F8 00003FF0 Function RVA 0005 DaysToEOY
daysToEOY Returns the number of days to the end of the year of this Date.
public Days daysToNewYear(LocalDate fromDate) { LocalDate newYear = fromDate.plusYears(1).withDayOfYear(1); return Days.daysBetween(fromDate, newYear);}
\masm32\help\DateTime.chm
Thanks, but I meant how to do it myself. I like challenges like this.