Building
The DateTime Libraries (both x86 and x64 versions) come with RadASMs project to help you build the sources. However if you wish to build the libraries manually, here are the command line options you should use.
Building the DateTime Library x86
The DateTime Library x86 source consists of the following files:
DateTime.incDTDateFormat.asmDTDatesStringCompare.asmDTDateStringsDifference.asmDTDateTimeStringsDifference.asmDTDateTimeStringToDwordDateTime.asmDTDateTimeStringToJulianMillisec.asmDTDateTimeStringToUnixTime.asmDTDay.asmDTDayOfWeek.asmDTDwordDateTimeToDateTimeString.asmDTDwordDateTimeToJulianMillisec.asmDTDwordDateTimeToUnixTime.asmDTDwordDateToJulianDate.asmDTDwordTimeToMillisec.asmDTGetDateTime.asmDTIsLeapYear.asmDTJulianDateToDwordDate.asmDTJulianMillisecToDateTimeString.asmDTJulianMillisecToDwordDateTime.asmDTMillisecToDwordTime.asmDTMonth.asmDTUnixTimeToDateTimeString.asmDTUnixTimeToDwordDateTime.asmDTYear.asm
Building with Microsoft MASM (ML.EXE):
ML.EXE /c /coff /Cp /nologo /I"X:\MASM32\Include" *.asm
Note
X is the drive letter where the MASM32 package has been installed to.
Linking with Microsoft Library Manager (LIB.EXE):
LIB *.obj /out:DateTime.lib
Building the DateTime Library x86 Debug Build
To build the DateTime Library x86 with debug information, supply the additional flag options /Zi /Zd on the command line for MASM (ML.EXE) like so:
ML.EXE /c /coff /Cp /Zi /Zd /nologo /I"X:\MASM32\Include" *.asm
Note
X is the drive letter where the MASM32 package has been installed to.
Building the DateTime Library x64
The DateTime Library x64 source consists of the following files:
DateTime.incDTDateFormat.asmDTDatesStringCompare.asmDTDateStringsDifference.asmDTDateTimeStringsDifference.asmDTDateTimeStringToQwordDateTime.asmDTDateTimeStringToJulianMillisec.asmDTDateTimeStringToUnixTime.asmDTDay.asmDTDayOfWeek.asmDTGetDateTime.asmDTIsLeapYear.asmDTJulianDateToQwordDate.asmDTJulianMillisecToDateTimeString.asmDTJulianMillisecToQwordDateTime.asmDTMillisecToQwordTime.asmDTMonth.asmDTQwordDateTimeToDateTimeString.asmDTQwordDateTimeToJulianMillisec.asmDTQwordDateTimeToUnixTime.asmDTQwordDateToJulianDate.asmDTQwordTimeToMillisec.asmDTUnixTimeToDateTimeString.asmDTUnixTimeToQwordDateTime.asmDTYear.asm
Building with UASM (UASM64.EXE):
UASM64.EXE /c -win64 -Zp8 /win64 /D_WIN64 /Cp /nologo /W2 /I"X:\UASM\Include" *.asm
Note
X is the drive letter where the UASM assembler has been installed to.
Linking with Microsoft Library Manager (LIB.EXE):
LIB *.obj /out:DateTime.lib
Building the DateTime Library x64 Debug Build
To build the DateTime Library x64 with debug information, supply the additional flag options /Zi /Zd on the command line for UASM (UASM64.EXE) like so:
UASM64.EXE /c -win64 -Zp8 /Zi /Zd /win64 /D_WIN64 /Cp /nologo /W2 /I"X:\UASM\Include" *.asm