# NSDateExtensions

> Namespace: XPlat.Extensions

Defines a collection of extensions for NSDate objects.

```csharp
public static class NSDateExtensions
```

## Supported platforms

| Platform    | Version |
| ----------- | ------- |
| Xamarin.iOS | 1.0     |

## Static Methods

### ToDateTimeOffset(this NSDate)

Converts an NSDate object to a DateTimeOffset object.

```csharp
public static DateTimeOffset ToDateTimeOffset(this NSDate date)
```

#### Parameters

**date (NSDate)**

The date to convert to a DateTimeOffset.

#### Returns

Returns the converted DateTimeOffset value.
