System.DateTime.TryParse


Dim sDateTimeString As String 
Dim objResult As System.DateTime

System.DateTime.TryParse(sDateTimeString, result)

This doesn't change the value of "result" if the date is in UK format "dd/mm/yyyy"




© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext