Click or drag to resize
ConversionConvertStringToDateTime Method (String, String, String, String, String)
Create a DataTime object from strings

Namespace: ToolBoox
Assembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static DateTime ConvertStringToDateTime(
	string day,
	string month,
	string year,
	string hour,
	string minute
)

Parameters

day
Type: SystemString
String representation of the day (es: "01", "31", etc)
month
Type: SystemString
String representation of the month (es: "11", "05", etc)
year
Type: SystemString
String representation of the year (es: "1981", "2014", etc)
hour
Type: SystemString
String representation of the hour (es: "05", "11", etc)
minute
Type: SystemString
String representation of the minute (es: "34", "59", etc)

Return Value

Type: DateTime
Created DatTime object
See Also