Export (0) Print
Expand All


Represents a date and time by using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)

public struct SYSTEMTIME
public final class SYSTEMTIME extends ValueType
JScript suports the use of structures, but not the declaration of new ones.

Do not add and subtract values from the SYSTEMTIME structure to obtain relative times. Instead, do the following:

  1. Convert the SYSTEMTIME structure to a FILETIME structure.

  2. Copy the resulting FILETIME structure to a ULARGE_INTEGER structure.

  3. Use ordinary 64-bit arithmetic on the ULARGE_INTEGER value.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft