• 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: Get milliseconds of current time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get milliseconds of current time


  • Subject: Re: Get milliseconds of current time
  • From: Jonathan Jackel <email@hidden>
  • Date: Wed, 24 Dec 2003 12:06:33 -0500

The fractional part of the value returned by timeIntervalSinceReferenceDate is the fractional second.

timeIntervalSinceDate: is the comparison method you want.

All the NSDate methods work on NSCalendarDates. Always check the superclass!

Jonathan

On Dec 24, 2003, at 7:19 AM, Lorenzo Puleo wrote:

Hi,
the NSCalendarDate class has functions to get
hourOfDay, minuteOfHour, secondOfMinute. Fine.

How can I get the millisecondOfSecond?

I cannot find that. And when comparing two NSCalendarDate(s) do the
milliseconds play their part? Thank you.


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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.

References: 
 >Get milliseconds of current time (From: Lorenzo Puleo <email@hidden>)

  • Prev by Date: Re: Window resizing behavior
  • Next by Date: Re: Show panel that slide from the top of the window.
  • Previous by thread: Get milliseconds of current time
  • Next by thread: Trouble with NSComboBoxCell in NSTableView
  • Index(es):
    • Date
    • Thread