06-02-2014
can you give me exaple:
to date 2015-03-30 + 11 months
and
to date 2015-02-27 + 3.3725 months
thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to split a given month into weeks. For example if I give the date in dd/mm/yy format say 01/02/08 it should give output in the given format :
week1 : start date and end date.
week2 : ""
week3 : ""
week4 : "" (5 Replies)
Discussion started by: khushbu_roy
5 Replies
2. Shell Programming and Scripting
munt=`date '+%m` will isolate the month in digit form 02 = Feb
Trying to get the same out of perl just cant see it
$stimx = localtime($^T);
print ((split/ /,$stimx)); (4 Replies)
Discussion started by: popeye
4 Replies
3. UNIX for Dummies Questions & Answers
Hi folks
month=`date +%m`gives current month
Howto print previous month (current month minus 1) with Solaris date and ksh (7 Replies)
Discussion started by: slashdotweenie
7 Replies
4. Shell Programming and Scripting
Hello All,
I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to customer.
Any ideas would be appreciated! (5 Replies)
Discussion started by: pnara2
5 Replies
5. Shell Programming and Scripting
I am writing the code in perl.
I have an array in perl and each variable in the array contains the data in the below format
Now I need to check the below variable w.r.t system month I need to store the date and time(Tue Aug 7 03:54:12 2012) from the below data into file if contains only 'Aug'... (5 Replies)
Discussion started by: giridhar276
5 Replies
6. Shell Programming and Scripting
Hi,
I have a script that accepts an input date from the user in yyyy-mm-dd format.
I need to get the mm-dd part and convert it to month name.
example:
2011-11-15
I want that to become "Nov 15"
I don't have the GNU date, I am using an AIX os.
Thanks. (1 Reply)
Discussion started by: erin00
1 Replies
7. Shell Programming and Scripting
Hi,
I need all file names in a folder which has date >= 10th of last month,
Example
: files in folder
AUTO_F1_20140610.TXT
BUTO_F1_20140616.TXT
CUTO_F1_20140603.TXT
FA_AUTO_06012014.TXT
LA_AUTO_06112014.TXT
MA_AUTO_06212014.TXT
ZA_AUTO_06232014.TXT
Output:
AUTO_F1_20140610.TXT... (9 Replies)
Discussion started by: nani1984
9 Replies
8. UNIX for Advanced & Expert Users
Hi Guys,
i am having .sql script which inserts data from one table to another table based on date condition, i need to pass range on based on how many number of months, for e.g
set timing on;
whenever sqlerror exit failure;
spool myscript.log append
accept start_date... (7 Replies)
Discussion started by: rohit_shinez
7 Replies
9. Shell Programming and Scripting
# Sample input
common-name www.test.com.au
expiration Dec 21 01:00:31 2017 GMT
common-name www.test1.com.au
expiration Jan 19 04:41:03 2018 GMT
# Desired Output
# Field 1: Domain name
# Field 2: Date/time converted to Austraian format DD/MM/YYYY and on the same line as Domain Name.
#... (7 Replies)
Discussion started by: thangbom
7 Replies
10. Linux
Hello,
I need to find the date of next first Friday of the month and set as a variable in a bash script
ie -
FIRSTFRIDAY=$(date -dfirst-friday +%d)
I know date -dfirst-friday doesn't work, but unsure if I can use this / cal + awk or something else to find the right date of the... (7 Replies)
Discussion started by: summerdays
7 Replies
LEARN ABOUT DEBIAN
cyrus-arbitron
ARBITRON(8) System Manager's Manual ARBITRON(8)
*
NAME
arbitron - arbitron mailboxes
SYNOPSIS
arbitron [ -C config-file ] [ -o ] [ -u ] [ -l ] [ -p months ]
[ -d days | -D mmddyyyy[:mmddyyyy] ] mailbox...
DESCRIPTION
Arbitron collects and reports readership statistics for mailboxes on the server. It also optionally prunes the mailboxes of Seen state
for dormant users.
Arbitron produces one line of output per mailbox, reporting the mailbox name followed by a space, followed by the number of readers (and if
-u is specified, followed by a colon and a comma-separated list of the readers userids), and if -o is not specified, another space and the
number of subscribers (and if -u is specified, followed by a colon and a comma-separated list of the subscribers userids). IMPORTANT: This
format is subject to change in future versions.
Each "reader" is a distinct authentication identity which has "s" rights to the mailbox and which has SELECTed the mailbox within either
the past days days or the specified date range. Users are not counted as reading their own personal mailboxes. Personal mailboxes are not
reported unless there is at least one reader other than the mailboxes owner.
Arbitron reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
OPTIONS
-C config-file
Read configuration options from config-file.
-o "old way" -- do not report subscribers.
-u Report userids in addition to the count(s).
-l Enable long reporting (comma delimited table consisting of mbox, userid, r/s, start time, end time).
-d days
Count as a reader an authentication identity which has SELECTed the mailbox within days days. Default is 30.
-D mmddyyyy[:mmddyyyy]
Count as a reader an authentication identity which has SELECTed the mailbox within the given date range. The start date and
optional end date are specified as 2-digit month of the year, 2-digit day of the month, and 4-digit year. If the end date is not
specified, then the current system time is used as the end time.
-p months
Prune Seen state for users who have not SELECTed the mailbox within months months. Default is infinity.
FILES
/etc/imapd.conf
CMU
Project Cyrus ARBITRON(8)