You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i have a problem with the NSDate display in the GridView, i save the date with the GMT timezone, i'm in italy and the date is displayed correctly in the calendar, but with the time zone of New York for example the date is displayed one day before, for example i save a date the 03-01-2013, and in italy i can see it in the right KalView, instead with the time zone of new york i can see the date on the 02-01-2013 in the grid kal view, so one day before, so my question is there is a way to set the time zone to GMT for example for the Kal?
The text was updated successfully, but these errors were encountered:
This can be achieved by using NSDateFormatter. Here is an example.
NSDateFormatter *format = [[NSDateFormatter alloc] init];
[format setTimeZone:[NSTimeZone timeZoneWithName:@"AKDT"]];
Replace AKDT with timezone of your choice. (New York would be EST IMHO)
Hello, i have a problem with the NSDate display in the GridView, i save the date with the GMT timezone, i'm in italy and the date is displayed correctly in the calendar, but with the time zone of New York for example the date is displayed one day before, for example i save a date the 03-01-2013, and in italy i can see it in the right KalView, instead with the time zone of new york i can see the date on the 02-01-2013 in the grid kal view, so one day before, so my question is there is a way to set the time zone to GMT for example for the Kal?
The text was updated successfully, but these errors were encountered: