Converting Date?
Converting Date?
- Subject: Converting Date?
- From: Jacki Barineau <email@hidden>
- Date: Mon, 26 Aug 2002 22:16:31 -0400
Hi Everyone,
I'm trying to use an Applescript to take e-mail messages within Outlook
Express and adding them to a Filemaker Pro database. Everything is working
fine, except the "date" ("time sent") field sends the day of week, month,
day, year, and time. I only need the date itself because I want the
Filemaker "date" type in that field definition so I can do searches by date.
Is there a way to do this? It's getting old having to manually edit the date
field!
For example, 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
Is there a way to either have the script bring in the correct date format to
begin with or to somehow edit the returned string to remove the ":"'s and
put the "," after the day number...?
Thanks for any help!
Jacki
_______________________________________________
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.