Re: do shell script date with last month's date
Re: do shell script date with last month's date
- Subject: Re: do shell script date with last month's date
- From: BevInTX <email@hidden>
- Date: Fri, 14 Feb 2014 08:28:26 -0600
I think that would always give January, when I think you really want the
previous month, whatever that would be for the current date?
"date -v-1m '+%B %Y'"
You can open a Terminal window and run "man date", without the quotes,
to find out all the details. It gives a number of examples. I also
found an online web page that listed OS X commands, but it was missing
some of the examples.
Bev in TX
On 2/14/14 7:50 AM, JF wrote:
...
"date -v1m '+%B %Y'"
...
_______________________________________________
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