DateTime Functions x86

Function

Description

DTGetDateTime

Get the current date & time and return it as a formatted string

DTDateFormat

Converts a SYSTEMTIME structure to a formatted date & time string

DTDwordDateTimeToDateTimeString

Converts DWORD values containing date & time information to a formatted date & time string

DTDateTimeStringToDwordDateTime

Converts a formatted date & time string to DWORD values containing date and time information

DTDwordDateToJulianDate

Converts a DWORD value containing date information to a Julian date integer

DTJulianDateToDwordDate

Converts a Julian Date number to a DWORD value containing date information

DTDateTimeStringToJulianMillisec

Converts a formatted date & time string to a Julian date integer in EAX and milliseconds in EDX

DTJulianMillisecToDateTimeString

Converts a Julian date integer and millisec time to a formatted date & time string

DTDwordDateTimeToJulianMillisec

Converts DWORD values containing date & time information to Julian date and total milliseconds

DTJulianMillisecToDwordDateTime

Converts Julian date integer value and total milliseconds to DWORD values containing date and time information

DTDateTimeStringToUnixTime

Converts a formatted date & time string to a DWORD value containing a unix time integer value

DTUnixTimeToDateTimeString

Converts a DWORD containing a unix time integer value to a formatted date & time string

DTDwordDateTimeToUnixTime

Converts DWORD values containing date & time information to a DWORD value containing a unix time integer value

DTUnixTimeToDwordDateTime

Converts a DWORD containing a unix time integer value to DWORD values containing date and time information

DTDwordTimeToMillisec

Converts a DWORD value containing time information to total amount of milliseconds

DTMillisecToDwordTime

Converts total milliseconds to a DWORD value containing time information in hours, minutes, seconds and milliseconds

DTDayOfWeek

Returns an integer indicating the day of the week from a date & time string

DTIsLeapYear

Calculate if a specified year is a leap year

DTDay

Get the day part of a date & time string

DTMonth

Get the month part of a date & time string

DTYear

Get the year part of a date & time string

DTDateStringsCompare

Compare two date & time strings to determine if they are: equal in value, one is less than another, or one is greater than another

DTDateStringsDifference

Returns the difference in days of the first date & time string to the second date & time string

DTDateTimeStringsDifference

Returns the difference in days or milliseconds of the first date & time string to the second date & time string