Re: Filemaker changes 04 to 1904
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