Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Cast from string to Datetimeoffset

$
0
0

HI,

I have a string date time which I am trying to convert into Datetimeoffset by (DT_DBTIMESTAMPOFFSET,6)(StringDate). But timezone ie(+5:30) is not displaying. But when I caste DATE datatype value then the value is displaying fine.(DT_DBTIMESTAMPOFFSET,6)(DATEDate).

Any suggestion for converting string to datetimeoffset so that offset(timezone) also displays.

Thanks in Advance.


Porus


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>