Re: Filemaker changes 04 to 1904
Re: Filemaker changes 04 to 1904
- Subject: Re: Filemaker changes 04 to 1904
- From: Eric Geoffroy <email@hidden>
- Date: Thu, 28 Oct 2004 09:11:36 -0700
Works like a treat.
The script however, is embedded and called from within FMP. This would
mean changing everyone's International prefs. Fortunately, (and somehow
psychically) you also provided an alternate solution.
Much thanks,
Eric
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