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

Re: date format


  • Subject: Re: date format
  • From: ehsan saffari <email@hidden>
  • Date: Tue, 27 Nov 2001 23:38:48 -0600

On 27/11/2001 23:10, Jan Erik Mostrvm <email@hidden> wrote:

>I usually use something like this
>
>on makeFormattedDate(ftype, currentDate)
> copy currentDate to b
> set month of b to January
<snip>

Dang! I just found one flaw with the French Vanilla,
it chokes on dates before Jan 1, 1904.

set x to 1 + ((currentDate - b + 1314864) div 2629728)
--> The result of a numeric operation was too large.


cheers
ehsan


  • Prev by Date: Re: Applescript FAQ's (was: Re: Passing parameter to Unix commands> and then executing)
  • Next by Date: Re: date format
  • Previous by thread: Re: Re: date format
  • Next by thread: Re: Re: date format
  • Index(es):
    • Date
    • Thread