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

Re: Date computation


  • Subject: Re: Date computation
  • From: yvan-koenig <email@hidden>
  • Date: Fri, 7 Jan 2005 19:26:00 +0100


Le 7 janv. 2005 , à 19:07, Michelle Steiner a écrit :

On Jan 7, 2005, at 10:52 AM, yvan-koenig wrote:

else
set d to date ("" & (day of d) & "/" & (cMonth + 1) & "/" & (year of d))

Nice; however, that works for your system, but not for mine.

set d to (current date)
set cmonth to month of d as number
set d to date ("" & (day of d) & "/" & (cmonth + 1) & "/" & (year of d))
--> date "Saturday, July 2, 2005 12:00:00 AM"


I need it this way:

set d to (current date)
set cmonth to month of d as number
set d to date ("" & (cmonth + 1) & "/" & (day of d) & "/" & (year of d))
--> date "Monday, February 7, 2005 12:00:00 AM"



Right

As a french user, I am working with the french date format dd/mm/yyyy ;-))

Yvan KOENIG


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Fwd: Date computation (From: yvan-koenig <email@hidden>)
 >Re: Date computation (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Date computation
  • Next by Date: Re: Date computation
  • Previous by thread: Re: Date computation
  • Next by thread: Re: Date computation
  • Index(es):
    • Date
    • Thread