10 More Discussions You Might Find Interesting
1. Linux
Hi,
My question is how to calculate the quarter end date according to the current date in shell script? (2 Replies)
Discussion started by: Divya_1234
2 Replies
2. Shell Programming and Scripting
How to get Julian date (Three digit) of a given date (Not current date)? I do not have root privilege - so can not use date -d. Assume that we have three variables year, month and date.
Thx (5 Replies)
Discussion started by: Soham
5 Replies
3. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
4. Shell Programming and Scripting
Hi All
Can you please help me with UNIX script code that will work with ksh shell on UNIX server
My Requirement
Time1: 09/17/13101536
Time2: 09/16/13101536
I want to calculate the difference in minutes for the dates with format given above. I have a requirement to wait for... (5 Replies)
Discussion started by: jimmyb
5 Replies
5. Shell Programming and Scripting
Solaris 10
ksh88
Sorry for re-hashing some of this, but I can't find a proper solution in the forums.
Starting with /a/archive containing (on and on date formatted directories)
20060313 20080518 20100725 20121015
20060314 20080519 ... (1 Reply)
Discussion started by: moesplace
1 Replies
6. Shell Programming and Scripting
Hello, i need calculate the day before in this format aammdd, for example if i have 110701 i need a script to return the value 110630.
I only know what with this comand "date %y%m%d" return the date system.
Sorry for my english, it is very bad, i know...
Thank you very much
Grettings! (1 Reply)
Discussion started by: Xedrox
1 Replies
7. Solaris
How to calculate the yesterday date? I am using SunOS.
i.e. todays date is 01/27/2010 and i have to find "01/26/2010 00:07:00 AM" this output. (1 Reply)
Discussion started by: anupdas
1 Replies
8. Shell Programming and Scripting
Hi Experts,
I have files name
report_20090416
report_20090417
report_20090418
report_20090420
report_20090421
I have 2 input from user
From Date: 20090417
To Date: 20090420
and I need to grep only those line in between. Output should be
report_20090417
report_20090418... (3 Replies)
Discussion started by: tanit
3 Replies
9. Shell Programming and Scripting
Hi there!, Is there anyone can help me on how to calculate the date by weekly in shell scripting. Suppose that i have a statistical reports in Monday, tuesday, ...... I want to add the count of statistics by weekly.
Please tell me any type of command which help me out.
Thanks, (2 Replies)
Discussion started by: thans_guban
2 Replies
10. Shell Programming and Scripting
I want to calculate the date of next satureday of current date using shell script.
Suppose, today is 27-feb-08
I want to get the date of next satureday, which means 01-mar-08, in the formate '' YYMMDD ".
I do this in ksh..
Please tell me any type of command which help me out.
Thanks in... (3 Replies)
Discussion started by: rinku
3 Replies