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

# PFTitleDataManagementClientGetTimeAsync

> Client API to retrieve the current PlayFab server time as a UTC timestamp, useful for reconciling client clocks and driving time-based gameplay logic.

Retrieves the current server time

## Syntax

```cpp theme={null}
HRESULT PFTitleDataManagementClientGetTimeAsync(  
    PFEntityHandle entityHandle,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`async`**   XAsyncBlock\*\
**Inout**

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. This query retrieves the current time from one of the servers in PlayFab. Please note that due to clock drift between servers, there is a potential variance of up to 5 seconds. When the asynchronous task is complete, call [PFTitleDataManagementClientGetTimeGetResult](/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementclientgettimegetresult) to get the result.

## Requirements

**Header:** PFTitleDataManagement.h

## See also

[PFTitleDataManagement members](/services/playfab/api-references/c/pftitledatamanagement/pftitledatamanagement_members)


## Related topics

- [PFTitleDataManagementClientGetTimeGetResult](/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementclientgettimegetresult.md)
- [Services C API overview - PFTitleDataManagement.h](/services/playfab/api-references/c/pftitledatamanagement/pftitledatamanagement_members.md)
- [PFTitleDataManagementServerGetTimeGetResult](/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementservergettimegetresult.md)
- [PFTitleDataManagementServerGetTimeAsync](/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementservergettimeasync.md)
- [PFTitleDataManagementClientGetTitleDataAsync](/services/playfab/api-references/c/pftitledatamanagement/functions/pftitledatamanagementclientgettitledataasync.md)
