i have forgotten how to do this and i've been scouring the internet and can't believe i can't find the correct syntax....
all i want to do is save the value for Now() to my database.
the original value is like: 8/23/2005 9:26:45:18 PM
this is how the dates appear in the table i'm trying to save to:
2/20/2004 1:25:25 PM
and they are in datetime format
i've tried all kinds of configurations like:
CONVERT(datetime, '2005-08-23-092645', 101)
etc but always get
"error converting datetime from character string" errors
all i want to do is save the value for Now() to my database.
the original value is like: 8/23/2005 9:26:45:18 PM
this is how the dates appear in the table i'm trying to save to:
2/20/2004 1:25:25 PM
and they are in datetime format
i've tried all kinds of configurations like:
CONVERT(datetime, '2005-08-23-092645', 101)
etc but always get
"error converting datetime from character string" errors