Export (0) Print
Expand All
Expand Minimize

WS_DATETIME structure

This structure is used to represent dates and times.

Represents dates and times with values ranging from 12:00:00 midnight, January 1, 0001 Anno Domini (Common Era) through 11:59:59 P.M., December 31, 9999 A.D. (C.E.) to an accuracy of 100 nanoseconds.

The functions WsDateTimeToFileTime and WsFileTimeToDateTime can be used to convert a WS_DATETIME to and from a FILETIME.

Syntax


struct WS_DATETIME {
  unsigned __int64   ticks;
  WS_DATETIME_FORMAT format;
};

Members

ticks

The time in 100 nanosecond units, with 0 representing 12:00:00 midnight January 1, Anno Domini (Common Era). The largest representable value is 3155378975999999999, which corresponds to 100 nanoseconds prior to 12:00:00 midnight January 1, 10000.

format

The format that is used when representing this time as text.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft