R
Roshawn Dawson
Hi,
I'm reading timestamp values from some log files. I need to merge the date and time values together
in ISO-8601 format.
I've loaded the date and time values into a dataset successfully. Putting them together and
formatting them in the proper format is troublesome for me.
This is what I have:
For i = 0 to dt.Rows.Count-1
Dim ddt As DateTime = dt.Rows(i).Item(0) & dt.Rows(i).Item(1)
dim str as string = ddt.ToString("YYYY-MM-DDThh:mm:ssTZD")
'... data omitted
Next
I always get an error with the above code. Can anyone help me?
Thanks,
Roshawn
I'm reading timestamp values from some log files. I need to merge the date and time values together
in ISO-8601 format.
I've loaded the date and time values into a dataset successfully. Putting them together and
formatting them in the proper format is troublesome for me.
This is what I have:
For i = 0 to dt.Rows.Count-1
Dim ddt As DateTime = dt.Rows(i).Item(0) & dt.Rows(i).Item(1)
dim str as string = ddt.ToString("YYYY-MM-DDThh:mm:ssTZD")
'... data omitted
Next
I always get an error with the above code. Can anyone help me?
Thanks,
Roshawn