Class DateTimeOffsetExtensions
Utility
Inheritance
System.Object
DateTimeOffsetExtensions
Namespace: ImageVault.Common.Lib
Assembly: ImageVault.Common.dll
Syntax
public static class DateTimeOffsetExtensions : Object
Methods
ConvertToDateTime(DateTimeOffset)
Converts to a DateTime object
Declaration
public static DateTime ConvertToDateTime(this DateTimeOffset dateTime)
Parameters
Type | Name | Description |
---|---|---|
System.DateTimeOffset | dateTime |
Returns
Type | Description |
---|---|
System.DateTime |
ConvertToDateTime(Nullable<DateTimeOffset>)
Converts to a DateTime? object
Declaration
public static Nullable<DateTime> ConvertToDateTime(this Nullable<DateTimeOffset> dateTime)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.DateTimeOffset> | dateTime |
Returns
Type | Description |
---|---|
System.Nullable<System.DateTime> |