> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XTFSYSTEMTIME

> XTFSYSTEMTIME

Contains system time information for XBOX Tools Framework (XTF) apps.

## Syntax

```cpp theme={null}
typedef struct XTFSYSTEMTIME {
    WORD wYear;
    WORD wMonth;
    WORD wDayOfWeek;
    WORD wDay;
    WORD wHour;
    WORD wMinute;
    WORD wSecond;
    WORD wMilliseconds;
} XTFSYSTEMTIME, *PXTFSYSTEMTIME;  
```

### Members

*wYear*\
Type: WORD

Year component of the system time.

*wMonth*\
Type: WORD

Month component of the system time.

*wDayOfWeek*\
Type: WORD

Day of week component of the system time.

*wDay*\
Type: WORD

Day component of the system time.

*wHour*\
Type: WORD

Hour component of the system time.

*wMinute*\
Type: WORD

Minute component of the system time.

*wSecond*\
Type: WORD

Second component of the system time.

*wMilliseconds*\
Type: WORD

Milliseconds component of the system time.

## Remarks

This structure represents the date and time components of the system time for a development console. The [IXtfConsoleControlClient::GetSystemTime](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getsystemtime.md) function provides a pointer to an `XTFSYSTEMTIME` structure for the system time of a development console. For more information about XBOX Tools Framework (XTF) tools, see [Command-line tools (NDA topic)](https://docs.xbox.com/tools/tools-console/commandlinetools/commandlinetools.md).

## Requirements

**Header:** xtfconsolecontrol.h

**Library:** xtfconsolecontrol.lib

**Supported platforms:** Windows (for XBOX console tools)

## See also

[XtfConsoleControl](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members.md)\
[XBOX Tools Framework native API reference](https://docs.xbox.com/reference/tools/xtf/atoc-xtf-native.md)


## Related topics

- [GetSystemTime](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getsystemtime.md)
- [XtfConsoleControl (API contents)](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members.md)
