Re: find yesterday date using date command
Re: find yesterday date using date command
- Subject: Re: find yesterday date using date command
- From: "J. Stewart" <email@hidden>
- Date: Mon, 1 Jan 2007 18:52:54 -0500
On 1/1/07 at -0700 Doug McNutt said this
>The UNIX date command has some of that capability but not enough.
>man date in Terminal.app for more.
Actually that would be man strftime which gives the formats date can use i.e.
This is almost equivalent to Applescript's current date -
date +"%A, %B %d, %G %r"
--> "Monday, January 01, 2007 06:40:12 PM"
While this returns the seconds since the epoch (based on UTC)
date +"%s"
--> "1167694812"
JBS
--
If lawyers are disbarred and clergymen defrocked, doesn't it follow that electricians can be delighted, musicians denoted, cowboys deranged, models deposed, tree surgeons debarked, and dry cleaners depressed? - George Carlin
_______________________________________________
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