• 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: Cocoa-dev Digest, Vol 6, Issue 1304
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 6, Issue 1304


  • Subject: Re: Cocoa-dev Digest, Vol 6, Issue 1304
  • From: Roland King <email@hidden>
  • Date: Sat, 12 Sep 2009 21:34:39 +0800

you want to be a little thoughtful if you go that way, if you cross a daylight savings time boundary you may find you have one more or one less hour than you might expect, ie it may not be a multiple of 24. Not hard to sort out, but something you need to be aware of.

On 12-Sep-2009, at 9:15 PM, Jesse Armand wrote:

Read the data into NSDate object, and compare it with
timeIntervalSinceDate: method.

This way, you'll get the time interval in seconds and then convert it
to unit of days.

Jesse Armand
----------------------------------------
(http://jessearmand.com)



On Sat, Sep 12, 2009 at 6:25 PM, Rajashekhar Managoli
<email@hidden> wrote:
Hi All,

I am new to Objective C and COCOA and Iphone Delopment

I am reading two dates from UIDatepicker i want find the diffrence between
to days


say 12/09/2009 in DDMMYYYY format 16/09/2009 DDMMYYYY for and finde the
number of days in between.


Thnaks in advance

Regards
Raj
_______________________________________________

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

_______________________________________________

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


References: 
 >Re: Cocoa-dev Digest, Vol 6, Issue 1304 (From: Rajashekhar Managoli <email@hidden>)
 >Re: Cocoa-dev Digest, Vol 6, Issue 1304 (From: Jesse Armand <email@hidden>)

  • Prev by Date: Re: Printing with Snow Leopard
  • Next by Date: Re: Subversion and Interface Builder
  • Previous by thread: Re: Cocoa-dev Digest, Vol 6, Issue 1304
  • Next by thread: Retaining a NSURL and retaining its -path
  • Index(es):
    • Date
    • Thread