A
A.Neves
Hi,
I'm having a problem, I have a DateTime value in Portuguese representation
(dd-mm-yyyy) and I'm using SQLServer2005 with its default language English
(yyyy-mm-dd), so when I assemble a WHERE clause the date that goes to
SQLSErver is wrong.
I found that in SQLSErver I can convert a date to its sql server float
equivalent using cast(column_name as float).
I'd like to know if in C#, NetFramework is there a way to convert a DateTime
value to a float equivalent.
Thanks.
I'm having a problem, I have a DateTime value in Portuguese representation
(dd-mm-yyyy) and I'm using SQLServer2005 with its default language English
(yyyy-mm-dd), so when I assemble a WHERE clause the date that goes to
SQLSErver is wrong.
I found that in SQLSErver I can convert a date to its sql server float
equivalent using cast(column_name as float).
I'd like to know if in C#, NetFramework is there a way to convert a DateTime
value to a float equivalent.
Thanks.