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

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

  • Follow-Ups:
    • Re: Date trouble
      • From: Yvan KOENIG <email@hidden>
References: 
 >Date trouble (From: "W. Thomas Leroux" <email@hidden>)
 >Re: Date trouble (From: Barry Wainwright <email@hidden>)
 >Re: Date trouble (From: "Mark J. Reed" <email@hidden>)
 >Re: Date trouble (From: "Mark J. Reed" <email@hidden>)
 >Re: Date trouble (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Date trouble
  • Next by Date: Re: FileMaker (Pro Advanced 8) bug?
  • Previous by thread: Re: Date trouble
  • Next by thread: Re: Date trouble
  • Index(es):
    • Date
    • Thread