• 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 syntax not working on 10.10.5?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date syntax not working on 10.10.5?


  • Subject: Re: date syntax not working on 10.10.5?
  • From: Bruce Robertson <email@hidden>
  • Date: Fri, 14 Aug 2015 13:21:44 -0700

What is the expected result of this example?

My result is:

date "Friday, August 14, 2015 at 12:00:00 AM"

> On Aug 14, 2015, at 12:33 PM, Christopher Stone <email@hidden> wrote:
>
> On Aug 14, 2015, at 14:02, Michael Grant <email@hidden> wrote:
>> Hmm. Well, for now I'm using the workaround:
> ______________________________________________________________________
>
> Hey Michael,
>
> That'll probably be more robust.
>
> I'd probably turn it into a handler and drop it in a library.
>
> dateFromTimeStr("10:15")
>
> on dateFromTimeStr(timeStr)
>  date ((date string of (current date)) & space & timeStr)
> end dateFromTimeStr
>
> --
> Best Regards,
> Chris


 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: date syntax not working on 10.10.5?
      • From: Christopher Stone <email@hidden>
    • Re: date syntax not working on 10.10.5?
      • From: "Stockly, Ed" <email@hidden>
References: 
 >date syntax not working on 10.10.5? (From: Michael Grant <email@hidden>)
 >Re: date syntax not working on 10.10.5? (From: Christopher Stone <email@hidden>)
 >Re: date syntax not working on 10.10.5? (From: Michael Grant <email@hidden>)
 >Re: date syntax not working on 10.10.5? (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: date syntax not working on 10.10.5?
  • Next by Date: Re: date syntax not working on 10.10.5?
  • Previous by thread: Re: date syntax not working on 10.10.5?
  • Next by thread: Re: date syntax not working on 10.10.5?
  • Index(es):
    • Date
    • Thread