Click or drag to resize

TimeZoneHelperGetBeginningOfDayInLocalTimeInUtc Method

Converts a UTC datetime to a local time and returns the beginning of the date it is on (that is, the point in time right after midnight) converted to UTC time.

Namespace:  Omada.OE.AppLogic.Helpers
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public DateTime GetBeginningOfDayInLocalTimeInUtc(
	DateTime utcDateTime,
	TimeZoneInfo localTimeZone
)

Parameters

utcDateTime
Type: SystemDateTime
localTimeZone
Type: SystemTimeZoneInfo

Return Value

Type: DateTime
See Also