Re: Filemaker changes 04 to 1904
Re: Filemaker changes 04 to 1904
- Subject: Re: Filemaker changes 04 to 1904
- From: Michelle Steiner <email@hidden>
- Date: Wed, 27 Oct 2004 16:55:03 -0700
On Oct 27, 2004, at 4:28 PM, Eric Geoffroy wrote:
Which version of Filemaker?
Version 6
It might be fixed in 7; I don't have FM 7, so I can't tell.
Why not use "2004" in the first place?
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.
Open the International Preferences. Click on the Formats tab. Click
on Customize, in the Dates pane. Click the Show Century check box.
Click OK.
If you do not want to change your preferences, here is a work around:
set s to date "Friday, October 22, 2004 12:00:00 AM"
set sd to short date string of s
set text item delimiters to "/"
set temp to text items of sd
set last text item of temp to "2004"
set sd to temp as string
--don't forget to reset text item delimiters
--
If you don't hit any bumps in the road, you're not moving.
_______________________________________________
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