M
me
Is there some way to insert a c# datetime in a table
without dealing with culture? The datetime object
probably has som internal representation thats
culture independant and the database probably stores
datetime internally as a long. If i try to insert like
this:
insert into x(somedatefield) values ('datestring')
then i have to format the datetime object in some
culture specific string and make sure the database
uses the same format. Is there some way to insert
a date without dealing with culture settings on
client and db server?
without dealing with culture? The datetime object
probably has som internal representation thats
culture independant and the database probably stores
datetime internally as a long. If i try to insert like
this:
insert into x(somedatefield) values ('datestring')
then i have to format the datetime object in some
culture specific string and make sure the database
uses the same format. Is there some way to insert
a date without dealing with culture settings on
client and db server?