S
shapper
Hello,
I am converting a DateTime variable to a string in RFC1123 format (RSS)
using the following code:
Dim a As DateTime
a = DateTime.Now
Dim b As String = a.ToString("R")
It works.
Now I want to make the same but with a Date/Time field from an Access
Database.
The problem is that is when I get the field it comes as string.
I tried to use String.Format(MyField, "R") but I still get the string
date as "9/16/2006".
How can I solve this?
Thanks,
Miguel
I am converting a DateTime variable to a string in RFC1123 format (RSS)
using the following code:
Dim a As DateTime
a = DateTime.Now
Dim b As String = a.ToString("R")
It works.
Now I want to make the same but with a Date/Time field from an Access
Database.
The problem is that is when I get the field it comes as string.
I tried to use String.Format(MyField, "R") but I still get the string
date as "9/16/2006".
How can I solve this?
Thanks,
Miguel