Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Can you give an example how to work with DateTimeOffset?

Hello COT Team,

Can you give an example how to work with DateTimeOffset?

i need to use 'DateTimeOffset' nested of 'DateTime' because it helps to prevent the Time zones problems.

I hope you help me.

Regards,
Ashraf.
4 people have
this question
+1
Reply
  • I know this is old post but also interested in. My date/times are working fine for ordinary date and datetime column data types for my Australia dd/mm/yyyy region but as soon as I set a table column to datetimeoffset data type COT shows dates in mm/dd/yyyy. All my global settings and culture have been set in COT Settings. Any idea on what I am doing wrong - does COT support datetimeoffset data type to display dates in your local format?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned sad, anxious, confused, frustrated kidding, amused, unsure, silly happy, confident, thankful, excited