10 More Discussions You Might Find Interesting
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. Shell Programming and Scripting
I have a date variable say dt="2014-01-06 07:18:38"
Now i need to use this variable to search a log and get the entries which occured after that time. (1 Reply)
Discussion started by: Girish19
3. Shell Programming and Scripting
I have a file data.txt like below
c ... (4 Replies)
Discussion started by: kumar85shiv
4. Shell Programming and Scripting
I have to increase the date by one week in an input when script is executed in solaris. I was able to acheive this using ksh script that is working in Linux enivironment, when i execute the same script in Solaris i am getting below error:
date: illegal option -- d... (3 Replies)
Discussion started by: sriramanaramoju
5. Shell Programming and Scripting
shell script to calculate difference between 2 dates (3 Replies)
Discussion started by: gredpurushottam
6. Shell Programming and Scripting
I have a requirement to append dates going forward to a certain line in a file.
I'm not sure of how to go about this. Any help will be greatly appreciated.
Slyesco:wall: (2 Replies)
Discussion started by: Slyesco
7. UNIX for Dummies Questions & Answers
Depending on the current date i should find out the start and end dates of the quarter.
ex: Today date is 14-Nov-2011 then Quarter start date should be Oct 1 2011 and Quarter End date should be Dec 31 2011.
How can i do this?
Sandeep (1 Reply)
Discussion started by: sandeep_1105
8. Shell Programming and Scripting
After retrieving values from DB I have two datestamps in format:
12/01/2010:05:40:00 AM and 12/01/2010:06:00:00 PM.
general time format: MM/DD/YYYY:HH:MM:SS AM or PM
Any quick solution to get the difference of two in the format : 1 day(s) 12:20:00
Thanks., (6 Replies)
Discussion started by: IND123
9. Shell Programming and Scripting
I am trying to generate quarter dates with user giving input as begin date and end date. Example: Input by user:
begin_date = "2009-01-01"
end_date = 2010-04-30"
2009-01-01 2009-03-31 09Q01
2009-04-01 2009-06-30 09Q02
2010-01-01 2010-03-31 10Q01
... (9 Replies)
Discussion started by: sol_nov
10. Shell Programming and Scripting
How to compare created or modified date of two files
Vajiramani :) (9 Replies)
Discussion started by: vaji