• 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: Converting Date?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting Date?


  • Subject: Re: Converting Date?
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Tue, 27 Aug 2002 20:33:04 +1000

At 10:16 pm -0400 26/8/02, Jacki Barineau wrote:

the following code in AppleScript:

set message_date to time sent of message i of folder "Workshop Notification
List" of folder "OO Mail" of folder "Inbox" as text

Returns the following:

Monday, August 26, 2002 12:28 AM

The following script code:

set entry_date to words 2 through 4 of message_date

Returns the following:

August: 26: 2002

Only because you have left AppleScript's text item delimiters at {":"} at some previous stage instead of resetting the default:

set AppleScript's text item delimiters to {""}


I think that Filemaker expects the date to be a number which is the number of days since 1/1/1904.


--
--
Malcolm Fitzgerald email@hidden
Database Manager http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Converting Date? (From: Jacki Barineau <email@hidden>)
 >Re: Converting Date? (From: John Delacour <email@hidden>)

  • Prev by Date: Re: OT: Re: New Address Book in Jaguar 10.2...
  • Next by Date: Re: xmlrpc in Jaguar (follow-up2)
  • Previous by thread: Re: Converting Date?
  • Next by thread: Re: Converting Date?
  • Index(es):
    • Date
    • Thread