Re: Date trouble
Re: Date trouble
- Subject: Re: Date trouble
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 20 Oct 2006 17:24:01 -0400
Ok, I lied, though this isn't tinkering with my last solution but
proposing a new one. No OSAX or shell required, and it's a lot
simpler than the above:
set |iso datetime| to (current date) as «class isot» as string
set |old delimiters| to text item delimiters
set text item delimiters to "T"
set {|date|, |time|} to text items of |iso datetime|
set text item delimiters to " "
set |current time| to {|date|, |time|} as text
set text item delimiters to |old delimiters|
|current time|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden