Re: "Z" in setDateFormat ?
Re: "Z" in setDateFormat ?
- Subject: Re: "Z" in setDateFormat ?
- From: Roland King via Cocoa-dev <email@hidden>
- Date: Sat, 22 Jul 2023 08:55:22 -0400
- Arc-authentication-results: i=1; rspamd-86948d5c96-v78tj; auth=pass smtp.auth=dreamhost smtp.mailfrom=email@hidden
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1690030539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Y/Q/sCxXengxTAxB2EoOMjk3B8Xk7eXSxmdmi5TU6QU=; b=Z7IzNn/Y6aso8JADJxd8x96SOxbpfkL9TL3GNNVYLO7IJ2FierFqeJlgqCVi3kAVjlYsdw zkPxc7rBkZ3VI/pJwC1t/6hwbEy6O2UoEoAf5SBa+rtTLcA2oRuOOSB/dr9cU5/DpydYfM +MLUq7PVLgpKiB6u3E+lXgyNYlMo0Lwbn5BDY/4gK2T9iq1rgz+Ah42cKcbRjfESAatuG3 ccpCKpnRWcxQ6svrkZvvzYjTw8Vrnid8yfe+LYSSFMVOUqL9qMKilibhdWO2zPHDq03M9a 7Igu5wxaz9GkvovDxzapCgaALjfdhTyH7QGaoPbF2CR3NFW/RrbVFZ59ARIhyw==
- Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1690030539; a=rsa-sha256; cv=none; b=bAy4F9EoMnoCS5iNObbDQqH4mBfRQvnq4HfSnrUVYuXQDCwYiNXS/a8jLcakQI3OwmjuLi mkk1dGfWaCypvIwnA9vJSo86fKadQEF6rrMBZR1KSOxMR/qKeZLew+OPH50puGYHmWDA1h sSRi2SFeIw6yIwkPrIZ3ZN6NhJfVodBxfdvl3kgRoIEkpjxAxfK2D8Voc61G9HMf9qMle7 w8iR5OpcD2HX6ZbakXEZNNeuyOwVvJ3ImmEKPIo++UiCrEeuYxOOaMl2mb/uckn/WxDVVW SUIMeRX0UYyRpmnfYWBvSJnwGNDLsx8TB7+KF/CpeKvumTScn8TuIn24U/o7wA==
Yes
> On 22 Jul 2023, at 08:42, Gabriel Zachmann <email@hidden> wrote:
>
> Thanks! ... and what is the meaning of the Z at the end of a date/time ?
> GMT+0:0 ?
>
> Best regards, Gabriel
>
>
>> On 22. Jul 2023, at 12:25, Roland King <email@hidden> wrote:
>>
>> It’s a literal. It’s quoted. So it prints “Z”
>>
>>>> On 22 Jul 2023, at 06:15, Gabriel Zachmann via Cocoa-dev
>>>> <email@hidden> wrote:
>>>
>>> In the Apple docs in chapter "Date Formatters" I found sample code that
>>> contains this line:
>>>
>>> [rfc3339DateFormatter setDateFormat:@"yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"];
>>>
>>> Now, my very specific question is: what does the 'Z' do?
>>> And where would I find the doc about it? (and potential other letters?)
>>> My guess would be it has something to do with the 'Z'/time offset mentioned
>>> in RFC 3339, but it is unclear to me exactly what is meant here.
>>>
>>> Best regards, Gabriel
>>>
>>> _______________________________________________
>>>
>>> Cocoa-dev mailing list (email@hidden)
>>>
>>> Please do not post admin requests or moderator comments to the list.
>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>>
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden