---
title: "xpc_date_get_value(_:)"
framework: xpc
role: symbol
role_heading: Function
path: "xpc/xpc_date_get_value(_:)"
---

# xpc_date_get_value(_:)

Returns the underlying date interval from an object.

## Declaration

```swift
func xpc_date_get_value(_ xdate: xpc_object_t) -> Int64
```

## Parameters

- `xdate`: The date object which is to be examined.

## Return Value

Return Value The underlying date interval.

## See Also

### Date objects

- [xpc_date_create(_:)](xpc/xpc_date_create(_:).md)
- [xpc_date_create_from_current()](xpc/xpc_date_create_from_current().md)
