store SQLDateTime in array

Hi everyone
How can i store modification date in ( SQLDateTime ) inside a array
then return it to date object
I’v seen a lot of conversation about string to date on the forum
none of it work
i’m with RS 2012 2.1

I,v try something that i’V found in dev website in xojo 2013 4.1 ( Dim myDate As Date = Date.FromText(dateValue) )
But it must be for newer release

i want to stay in RS 2012 2.1

assuming you are storing you array as a string? “2016-03-12 18:57:07”

dim d as new date

“d” would be a DATE object that accepted the SQLDate time “string” that was in myARRAY at element defined by “index”

Thanks Dave