Summary: I am looking for a unix script that will calculate a date in the past and also accounts for past months and year. Any help with this would be greatly...
Summary: Hello All, Need Help!!! I want to create a unix script, which will calculate a particular date for every Quarter. Any help on this will be appreciated...
Summary: William Robertson has done some fine work with date calculation he chose to share with us here. http://www.williamrobertson.pwp.blueyonder.co.uk/code/...
Summary: bam74: What Mike has pointed you to is the US Naval observatory's Julian Date calculator. Joseph Scaliger defined the number of continuous days elaps...
Summary: My script, as posted above, did not compute 3 days in advance, and instead used a hard-coded value for $soon. I had that set to 20021215 to make a lo...
Summary: William Robertson did a great job solving date calculations with the shell. http://www.williamrobertson.pwp.blueyonder.co.uk/code/shift_date.txt ...
Summary: i need help! can someone help me please? i try to calculate date under unix (ksh)... example: todays date: 2003.07.23 date-5 = 2003.07.28 how can i do...
Summary: Hi, I'm new in writing unix scripts. Currently I need to write a script to calculate previous date. Lucky this web site has infomation on it. I have f...
Summary: I have to calculate the date - 1. I use this shell: #!/bin/sh DataFlusso='date +"%Y%m%d"' DataFlusso='expr $DataFlusso - 1' but if the date is 2004050...
Summary: Carl: In an earler thread in this forum named: count days since jan 1 1970 discusses this particular problem. In this thread, I say what a pain date ...
Summary: I'm trying to rename a file from gjoob.txt to gjoob_monday.txt depending on the day of the week. I can get the current day of the month by typing `dat...
Summary: @echo off ------------------------- :: Description: Deletes files older than a specified number of days :: ++ attributes not set :: :: Author...
Summary: I'm trying to calculate the date 14 days into the future with the date function. Searching in this site I found something in a past post that subtrac...
Summary: Fiscal year is defined by your company. Does your fiscal year always begin with a full 7-day week? And will the input to this script be the beginnin...
Summary: Hi Dave I have 1 problem with the script If I have more than 2 lines for the date I get an error - I need to calculate the 1st & last. eg: 21:20:46 10...
Summary: #!/bin/ksh # At script beginning, get day of month. BDAY=$(date +%e) # Get time in seconds. ((BTIME=($(date +%H)*3600)+($(date +%M)*60)+$(date +%S))) ...
Summary: I have converted a given date to julian date, done some calculations (add, subtract,etc)and have converted the result back to gregorian date - but I c...
Summary: I am trying to subtract 35 days from the current date.. Whatever that date is, needs to be appended to my output filename. The following will subtract...
Summary: All, I have a requirement to assign yesterday's date in to a var. This should be compatible with all the months from Jan to Dec. Appreciate your help ...
Summary: Dear All, I would like to have a program for date time calculation. For example: current : 2000208081030 --> after 5 minutes it will become ...
Summary: Dear All, I'm using following script to calculate Yesterday's Date as a portion of a huge script. #!/bin/ksh set -A DAYS Sat Sun Mon Tue Wed Thu Fri ...
Summary: How do I calculate today's date minus 3 months? For example, I need this date (date +%D) which is 02/17/03 minus 3 months. So, my result that I want...