Skip to main content

IXtfConsoleControlClient::GetSystemTime

Retrieves the system time from the current development console.

Syntax

Parameters

pSystemTime
Type: XTFSYSTEMTIME*
A pointer to an XTFSYSTEMTIME structure that receives the system time from the current development console.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an HRESULT error code.

Remarks

This function retrieves the system date and time from the current development console as an XTFSYSTEMTIME structure. The structure represents the system date and time in its various components, from year to millisecond. For more information about viewing the current system time on a development console, see Developer Home on the console (Dev Home) (NDA topic).

Requirements

Header: xtfconsolecontrol.h Library: xtfconsolecontrol.lib Supported platforms: Windows (for XBOX console tools)

See also

XTFSYSTEMTIME
IXtfConsoleControlClient
XtfConsoleControl
Last modified on August 20, 2026