Click or drag to resize

ObjectExtensionsToDateTime Method

Converts object to DateTime.

Namespace:  Omada.OE.Solution.OIM.Assembly.AppLogic.Extensions
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
public static DateTime ToDateTime(
	this Object obj
)

Parameters

obj
Type: SystemObject
The object.

Return Value

Type: DateTime
The DateTime object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also