Hi all. In testing my app, which now works fine for me here in the UK, I stumbled upon a problem when my app is used in a different timezone...
My app stores dates and times in the users calendar. These dates and times are all in UK local time. If I set my tablet and my calendar to for example Eastern time (5 hours behind the UK) and then add an event which takes place at 15:00 UK time, the calendar still shows it at 15:00 (but it should be 5 hours earlier in Eastern time).
What I think I have to do is find the devices timezone ( inc DST) and adjust the start time in my app. Any ideas how I could do this, please?
Thanks very much
My app stores dates and times in the users calendar. These dates and times are all in UK local time. If I set my tablet and my calendar to for example Eastern time (5 hours behind the UK) and then add an event which takes place at 15:00 UK time, the calendar still shows it at 15:00 (but it should be 5 hours earlier in Eastern time).
What I think I have to do is find the devices timezone ( inc DST) and adjust the start time in my app. Any ideas how I could do this, please?
Thanks very much