|   | CommonDateTimeConvertToDateTime Method (String, DateTime) | 
 
            Parses a string and converts it to a datetime.
            
 
    Namespace: 
   Omada.OE.Model
    Assembly:
   Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic static DateTime ConvertToDateTime(
	string input,
	DateTime defaultValue
)
Parameters
- input
 - Type: SystemString
Users input in local time - defaultValue
 - Type: SystemDateTime
Returns this value if incorrect format 
Return Value
Type: 
DateTimeReturns a DateTime in UTC format
See Also