UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | req.apiset | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:objbase.CoDosDateTimeToFileTime |
CoDosDateTimeToFileTime function (objbase.h) |
Converts the MS-DOS representation of the time and date to a FILETIME structure used by Windows. |
|
com\codosdatetimetofiletime.htm |
com |
eb7af6a3-7547-405e-b96e-3e68a1ac273b |
12/05/2018 |
CoDosDateTimeToFileTime, CoDosDateTimeToFileTime function [COM], _com_CoDosDateTimeToFileTime, com.codosdatetimetofiletime, objbase/CoDosDateTimeToFileTime |
objbase.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Ole32.lib |
Ole32.dll |
Windows |
19H1 |
|
|
|
|
|
|
ext-ms-win-com-ole32-l1-1-5 (introduced in Windows 10, version 10.0.15063) |
Converts the MS-DOS representation of the time and date to a FILETIME structure used by Windows.
Note This function is provided for compatibility with 16-bit Windows.
The MS-DOS date.
The MS-DOS time.
A pointer to the FILETIME structure.
If the function succeeds, the return value is TRUE; otherwise, it is FALSE, probably because of invalid arguments.
An MS-DOS date has the following format.
Bits | Description |
---|---|
0-4 | Days of the month (1-31). |
5-8 | Months (1 = January, 2 = February, and so forth). |
9-15 | Year offset from 1980 (add 1980 to get actual year). |
An MS-DOS time has the following format.
Bits | Description |
---|---|
0-4 | Seconds divided by 2. |
5-10 | Minutes (0-59). |
11-15 | Hours (0-23 on a 24-hour clock). |