• 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: 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


  • Follow-Ups:
    • Picture file to clipboard w/shell?
      • From: Bruce Robertson <email@hidden>
    • Re: Filemaker changes 04 to 1904
      • From: Eric Geoffroy <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>)

  • Prev by Date: Re: Filemaker changes 04 to 1904
  • 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