10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to automate change in 'from yyyy/mm/dd to yyyy/mm/dd' every month in a unix program.
For example in this month 'from yyyy/mm/dd to yyyy/mm/dd' is 'from 2014/10/01 to 2014/11/01' next month it should be 'from 2014/11/01 to 2014/12/01'
Can any one provide me the code for the above... (2 Replies)
Discussion started by: srinivas kasett
2. Shell Programming and Scripting
I have this date 11:30:02-31.11.12
How to calculate date between this date and now?
I like it printed like this:
31D 2H 1M
if possible. (6 Replies)
Discussion started by: Jotne
3. Shell Programming and Scripting
Hello eveyone, I am tasked to write an (n)awk script to calculate the days between dates. Now before anyone chastizes me on how many forums there are on date calculation, I have no seen one that takes into account the Julian calender as well. As most know, September of 1752 is when we (the US)... (2 Replies)
Discussion started by: csharp100
4. Shell Programming and Scripting
I have to run a shell , only if file_a.txt is updated correctly before 1hr.
2011_09_21__14:10:20 --> any format..
the shell can be like,
if ; then
Run some shell
update file_a.txt with (date now)
how to do this ? (6 Replies)
Discussion started by: linuxadmin
5. Shell Programming and Scripting
I need a date calculation script that need to do that:
and the script need to give me which day is it for example monday friday or what else!
can anyone help me?? its really urgent :S thx the help! (7 Replies)
Discussion started by: impish
6. Shell Programming and Scripting
I had been to many forums and many topics in this site as well for my question but did not get any solution.
My question is how i can get y'day date with time stamp
today is 20100729103819 and i am looking for output as 20100728103819.
in simple words as we do in oracle sysdate-1... (4 Replies)
Discussion started by: lokaish23
7. Shell Programming and Scripting
Hello all. I'm writing a script that should work with some files being sure that them were created a concrete day (0, 1, 2 or 3 days before script execution). This task should be done under Solaris and Linux hosts with different versions (Solaris 8, 9 and 10, Suse 9 and 10) so I'm trying to make... (3 Replies)
Discussion started by: nefeli
8. UNIX for Advanced & Expert Users
i need a script that can check if users did an operation within 3 days,if not delete all the logs of users who did not perform any activity after 3 days.therefore script should be able to use current date and verify last date user performed activity and see if it is greater or less than 3... (3 Replies)
Discussion started by: tomjones
9. Shell Programming and Scripting
Can you please help me in calculating the future date using unix shell scripting..
lets say todays date is 29-sep-2008
i wanna calculate the date after 365 days...
hence the date must be 29-sep-2009..
Quick response is appreciable.
thanks in... (2 Replies)
Discussion started by: subhendu81
One of my vendor based tool is giving date in
no. of days since 1900-01-01.
So, I want to display in CCYYMMDD format.
For ex:- Vendor based tool is giving as 38790 days since 1900-01-01
Does anybody has the... (1 Reply)
Discussion started by: axes