Click or drag to resize

CommonDateTimeYYYYMMDDStrToDatePlus235959 Method

Converts a string on the format YYYYMMDD to a datetime in utc time and atts 23 hours 59 minutes and 59 seconds. For instance:: The method is called with the string "20061224" by an identity having a utc offset of +2 hours. The UTC time them becomes 2006-12-23 22:00:00. Then 23 hours, 59 minutes and 59 seconds are added. The result is 2006-12-24 21:59:59.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public static DateTime YYYYMMDDStrToDatePlus235959(
	string str
)

Parameters

str
Type: SystemString

Return Value

Type: DateTime
See Also