One way is the convert the dates to Julian date

http://en.wikipedia.org/wiki/Julian_day

and subtract the Julian day numbers.

Sincerely,

Mike

On Sep 12, 2009, at 7:25 AM, Rajashekhar Managoli 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/map%40psatellite.com

This email sent to m...@psatellite.com

------------------------------------------------------
Michael Paluszek
President
Princeton Satellite Systems
6 Market Street, Suite 926
Plainsboro, NJ 08536-2096
Phone (609) 275-9606
Fax (609) 275-9609
m...@psatellite.com
www.psatellite.com




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to