Click or drag to resize

TimeZoneHelperGetEndOfDayInLocalTimeInUtc Method

Converts a UTC datetime to a local time and returns the end of the date it is on (that is, the point in time right before 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 GetEndOfDayInLocalTimeInUtc(
	DateTime utcDateTime,
	TimeZoneInfo localTimeZone
)

Parameters

utcDateTime
Type: SystemDateTime
localTimeZone
Type: SystemTimeZoneInfo

Return Value

Type: DateTime
See Also