• 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: Filemaker changes 04 to 1904
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filemaker changes 04 to 1904


  • Subject: Re: Filemaker changes 04 to 1904
  • From: Andrew Oliver <email@hidden>
  • Date: Wed, 27 Oct 2004 18:13:03 -0700

On 10/27/04 5:57 PM, "Malcolm Fitzgerald" <email@hidden> wrote:

> Eric Geoffroy wrote:
>> set s to date "Friday, October 22, 2004 12:00:00 AM"
>> short date string of s
>> -- returns "10/22/04"
>>
>> That's where I wish it said 2004.
>
> set d to (get current date)
> set dateString to short date string of d
> set dateString to text 1 thru 6 of dateString & year of d
> --> "28/10/2004"

And on January 1st 2005 you get 1/1/052005

> set d to (get current date)
> set dateString to short date string of d --> 1/1/05
> set dateString to text 1 thru 6 of dateString & year of d --> 1/1/052005

But I get the idea :)

Andrew
:)

 _______________________________________________
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

  • Follow-Ups:
    • Re: Filemaker changes 04 to 1904
      • From: Malcolm Fitzgerald <email@hidden>
References: 
 >Re: Filemaker changes 04 to 1904 (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Dice
  • Next by Date: Re: Code Completion suggestion
  • Previous by thread: Re: Filemaker changes 04 to 1904
  • Next by thread: Re: Filemaker changes 04 to 1904
  • Index(es):
    • Date
    • Thread