Skip to content

Latest commit

 

History

History
106 lines (76 loc) · 2.59 KB

ns-wsdxml-wsd_datetime.md

File metadata and controls

106 lines (76 loc) · 2.59 KB
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
NS:wsdxml._WSD_DATETIME
WSD_DATETIME (wsdxml.h)
Represents a timestamp.
WSD_DATETIME
WSD_DATETIME structure
_WSD_DATETIME
ncd.wsd_datetime_struct
wsdxml/WSD_DATETIME
ncd\wsd_datetime_struct.htm
ncd
ec42d69c-133a-4e76-bbbe-0e6978f4723a
12/05/2018
WSD_DATETIME, WSD_DATETIME structure, _WSD_DATETIME, ncd.wsd_datetime_struct, wsdxml/WSD_DATETIME
wsdxml.h
Wsdapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
WSD_DATETIME
19H1
_WSD_DATETIME
wsdxml/_WSD_DATETIME
WSD_DATETIME
wsdxml/WSD_DATETIME
c++
APIRef
kbSyntax
HeaderDef
WsdXml.h
WSD_DATETIME

WSD_DATETIME structure

-description

Represents a timestamp.

-struct-fields

-field isPositive

TRUE if year value is positive.

-field year

Year value (for example, 2005). This number is a value between 0 and max(ULONG).

-field month

One-based month value (1 = January, through 12 = December).

-field day

One-based day of the month value (1-31).

-field hour

Zero-based hour value (0 through 23). hour=24 is only allowed if both minute and second are 0.

-field minute

Zero-based minute value (0 through 59).

-field second

Zero-based second value (0 through 59).

-field millisecond

Millisecond value (0-999). When this structure is converted to XML, the millisecond value is expressed as a fraction of a second in decimal form. For example, if millisecond has a value of 9, then the XML output will be 0.009.

-field TZIsLocal

TRUE if date and time are based on the local time zone, FALSE if UTC + offset.

-field TZIsPositive

TRUE if time zone offset specified by TZHour and TZMinute is positive relative to UTC, FALSE if offset is negative. Not valid if TZIsLocal is TRUE.

-field TZHour

Time zone offset relative to UTC (0-13). TZhour=14 is allowed if TZMinute is 0. Not valid if TZIsLocal is TRUE.

-field TZMinute

Time zone offset relative to UTC (0-59). Not valid if TZIsLocal is TRUE.