• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Representing UTC time in a readable format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Representing UTC time in a readable format


  • Subject: Re: Representing UTC time in a readable format
  • From: Andreas Mayer <email@hidden>
  • Date: Sat, 5 Jun 2004 00:08:57 +0200

Am 04.06.2004 um 23:15 schrieb Jeremy Dronfield:

[date setTimeZone:[NSTimeZone timeZoneWithName:@"UTC"]];

Now *that* is what I was looking for! I wasn't aware that UTC was in the time zone info directory.

I don't understand.

Is there really a difference between [NSTimeZone timeZoneWithName:@"UTC"] and [NSTimeZone timeZoneForSecondsFromGMT:0]? I very much doubt it.

BTW: You can get an array of all known time zones with [NSTimeZone knownTimeZoneNames].


Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Representing UTC time in a readable format
      • From: Malte Tancred <email@hidden>
References: 
 >Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)
 >Re: Representing UTC time in a readable format (From: j o a r <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Malte Tancred <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Andreas Mayer <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Malte Tancred <email@hidden>)
 >Re: Representing UTC time in a readable format (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Mutable and Immutable Designs
  • Next by Date: The best way to determine if my app is already running
  • Previous by thread: Re: Representing UTC time in a readable format
  • Next by thread: Re: Representing UTC time in a readable format
  • Index(es):
    • Date
    • Thread