 | ConversionConvertStringToDateTime Method (String, String, String, String, String) |
Create a DataTime object from strings
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static DateTime ConvertStringToDateTime(
string day,
string month,
string year,
string hour,
string minute
)
Public Shared Function ConvertStringToDateTime (
day As String,
month As String,
year As String,
hour As String,
minute As String
) As DateTime
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:
DateTimeCreated DatTime object
See Also