O'Reilly logo

Apple Pro Training Series: AppleScript 1-2-3 by Bill Cheeseman, Sal Soghoian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 26. The date Object

Date and Time Tools

An ISO 8601:2004 Converter

A Deadline Calculator

A Day of Year Calculator

What’s Next?

In Chapter 24, Adding Timing Controls to Scripts, you got a brief introduction to the current date command in the Standard Additions scripting addition and the date command of the UNIX shell. Here, we’ll show you how to use date and time arithmetic and to compare dates to make better use of your time.

Knowing what day and time it is right now is only the beginning. You often have a second date, and you want to know how much time has passed since then or how much time will pass until then. For example, given your birthday, how old are you right now? Given the deadline for your next term paper, how much time do ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required