Reputation: 2682
In my Windows Phone Application I use Current Date and Time. How can I take Time and Date from Phone Settings Device, so when user is situated in another Counrty his Date Time would be differens?
UPDATED
So, how can I make my Date and Time absolute?
Upvotes: 1
Views: 281
Reputation: 7233
Use DateTimeOffset
instead of DateTime
, that's the best structure to handle datetime + timezone.
Upvotes: 2