revolutionkpi
revolutionkpi

Reputation: 2682

How to take Date Time information from Phone Settings? (Windows Phone)

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

Answers (1)

Pedro Lamas
Pedro Lamas

Reputation: 7233

Use DateTimeOffset instead of DateTime, that's the best structure to handle datetime + timezone.

Upvotes: 2

Related Questions