• 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: Current hour and minute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current hour and minute


  • Subject: Re: Current hour and minute
  • From: "Christopher C. Stone" <email@hidden>
  • Date: Thu, 1 Feb 2001 18:41:31 -0600

Greetings,

As was mentioned the current date format is dependent upon settings in the Date & Time control panel.

Here's one way to do it if your settings are US and non-24-Hour time.

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

set theTime to (get {text 1 thru 5, text -2 thru -1} of time string of (current date)) as string

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

(watch the wrap)


Best Regards,

Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden


  • Follow-Ups:
    • Re: Current hour and minute
      • From: Bill Briggs <email@hidden>
References: 
 >Current hour and minute (From: Tod Hallberg <email@hidden>)
 >Re: Current hour and minute (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Can a script create an applet?
  • Next by Date: Re: Get list of active fonts
  • Previous by thread: Re: Current hour and minute
  • Next by thread: Re: Current hour and minute
  • Index(es):
    • Date
    • Thread