• 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: 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
  • Follow-Ups:
    • Re: Filemaker changes 04 to 1904
      • From: Michelle Steiner <email@hidden>
References: 
 >Filemaker changes 04 to 1904 (From: Eric Geoffroy <email@hidden>)
 >Re: Filemaker changes 04 to 1904 (From: Michelle Steiner <email@hidden>)
 >Re: Filemaker changes 04 to 1904 (From: Eric Geoffroy <email@hidden>)
 >Re: Filemaker changes 04 to 1904 (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Inheritance and Loaded Libraries
  • Next by Date: Re: Inheritance and Loaded Libraries
  • Previous by thread: Re: Filemaker changes 04 to 1904
  • Next by thread: Re: Filemaker changes 04 to 1904
  • Index(es):
    • Date
    • Thread