I serialize my c# object to xml, then got varchar such as '2009-05-09T13:50:59.6361485+08:00'.
But SQL Server return following messgae: 'Result: Msg 241: Conversion failed when converting date and/or time -- from character string.'
after I execute following sql: declare @msg xml
set @msg='<root><date>2009-05-09T13:50:59.6361485+08:00</date></root>'
select @msg.value(N'(//root/date/text())[1]','datetime')