I
Irishmaninusa
Hello Everyone,
I am trying to pull back value from my database and the value in the field
is 2004-10-16 16:48:36.840
but when I store that in a string variable it gets converted into real time
10/16/2004 4:48:36PM
I want to keep the value as is and not have it converted, so I tried to use
the format function
Format(oEncRow.Item(2), "yyyy-mm-dd h:mm:ss.fff")
and this is what is returned from the above function
2004-48-16 4:48:36.840
Anyone have any ideas on how I can keep this value as it is stored in the
database
I am trying to pull back value from my database and the value in the field
is 2004-10-16 16:48:36.840
but when I store that in a string variable it gets converted into real time
10/16/2004 4:48:36PM
I want to keep the value as is and not have it converted, so I tried to use
the format function
Format(oEncRow.Item(2), "yyyy-mm-dd h:mm:ss.fff")
and this is what is returned from the above function
2004-48-16 4:48:36.840
Anyone have any ideas on how I can keep this value as it is stored in the
database