• 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: Announce the time every 30 minutes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Announce the time every 30 minutes


  • Subject: Re: Announce the time every 30 minutes
  • From: Benjamin Dobson <email@hidden>
  • Date: Fri, 12 Dec 2008 21:30:35 +0000

On 12 Dec 2008, at 18:36:21, has wrote:

You could run 'say `date`' as a cron job.

Make sure to specify your own date format. The user's default one will probably sound silly.


For example,

	date "+The time now is %I:%m %p on %A %B %e %Y"

will return

	The time now is 09:12 pm on Friday December 12 2008

The system voices will pick it up as a date and say "twelfth" instead of "twelve". Compare this with my default format:

	Fri 12 Dec 2008 21:27:14 GMT

I had to listen to that several times to work out what it was saying. It is spoken ridiculously fast.

See date man page for more info.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Announce the time every 30 minutes
      • From: Andrew Merenbach <email@hidden>
References: 
 >Re: Announce the time every 30 minutes (From: has <email@hidden>)

  • Prev by Date: Loading a view XIB with different owner types?
  • Next by Date: NSBitmapImageRep orientation?
  • Previous by thread: Re: Announce the time every 30 minutes
  • Next by thread: Re: Announce the time every 30 minutes
  • Index(es):
    • Date
    • Thread