Click or drag to resize
ConversionConvertStringToDateTime Method (String, String, String)
Create a DataTime object from strings (without hour and minute components)

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
)

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)

Return Value

Type: DateTime
Created DatTime object
See Also