DateTimeExtensions.ToUtc Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ToUtc(DateTime)

Converts a local time to UTC.

public static DateTime ToUtc(this DateTime date)

Parameters

date
System.DateTime

Returns

System.DateTime

Returns the local time for a user.