• 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
Date mathematics help please...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Date mathematics help please...


  • Subject: Date mathematics help please...
  • From: montana <email@hidden>
  • Date: Sat, 18 Jan 2003 17:51:07 -0600 (CST)

Hi Everyone-

I would like to take a start date/time like:

1.14.03 2100

And an end date/time like;

1.17.03 2130

I want to then take these two times and find their difference and return the difference value in hours and minutes. (Diff -> 72h 30min)

Does anyone know how to do this totally in AppleScript? I've written scripts in both Python and Java that accomplish this (with Python taking much less lines of code than Java to accomplish this task:)) but I would like to do this totally in AppleScript to access some of the gui features of OSX without alot of code; i.e. Dialogs.

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

  • Follow-Ups:
    • Re: Date mathematics help please...
      • From: Deivy Petrescu <email@hidden>
  • Prev by Date: Re: Howto Display terminal return value??
  • Next by Date: (no subject)
  • Previous by thread: Odd System Preferences problem
  • Next by thread: Re: Date mathematics help please...
  • Index(es):
    • Date
    • Thread