[quote='779047021, VasileGreabanu, /thread/779047, /profile/VasileGreabanu'] how is the value interpreted with respect to timezone ? [/quote] It is not. It’s of type Date, and Date represents a fixed point in time. Under the covers it’s actually on offset, in seconds, from the reference date (the beginning of 2001). If you want to specify specify a local time, create a DateComponents value and pass that into Calendar to get a Date. There is one gotcha though: If the device changes time zone after when your schedule your task, there’s no easy way for you to adjust for that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: