• 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: Current date and future date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current date and future date


  • Subject: Re: Current date and future date
  • From: Arthur J Knapp <email@hidden>
  • Date: Thu, 07 Feb 2002 09:41:10 -0500

> Date: Wed, 06 Feb 2002 22:05:08 +1300
> Subject: Re: Current date and future date
> From: Andy Wylie <email@hidden>

> set the_date to date "Thursday, 28 February 2002 12:00:00 AM"
> set the_date to (the_date + 4 * days)

> --note 'date "28/02/2002"' compiles to "Thursday, 28 February 2002 12:00:00
> AM"

Also note: You can prevent the stupid compiler from changing your
code by using this syntax:

date ("" & "28/02/2002")



{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
<mailto:email@hidden>
try
<http://mtlab.ecn.fpu.ac.jp/scripting/Jcode_osax.html>
on error number -128
end try
}
_______________________________________________
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.

  • Prev by Date: RE: Coercing date to real
  • Next by Date: Re: UniqueID
  • Previous by thread: Re: Current date and future date
  • Next by thread: Re: another Finder file problem
  • Index(es):
    • Date
    • Thread