Computing.Net > Forums > Unix > Search Results

Quick Links

Computing.Net Solution Center
Desktop Access to Search
Ask a New Question

Sponsored Results for: calculate previous date

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: calculate previous date

Product Search Results


Results 1 - 25 of 822

[higher confidence] - higher confidence, [lower confidence] - lower confidence

calculate previous date
    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...

Calculate Previous Date in ksh
    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 ...

Calculation the date
    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...

Date calculations
    Summary: I want the script to calculate a date in the past, say 7 days, and then delete certain files based on that date. My problem is that I don't know how ...

how to calculate date (urgent)
    Summary: oh oh oh its very hard to work with dates under unix, because there is no spezify tool for it! my solution is, that "we" have a oracle server installe...

Getting old date into variable
    Summary: oh oh oh its very hard to work with dates under unix, because there is no spezify tool for it! my solution is, that "we" have a oracle server installe...

renaming files based on date arguments
    Summary: @echo off ------------------------- :: Description: Deletes files older than a specified number of days :: ++ attributes not set :: :: Author...

Calculating 14 days in the future
    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...

week number of a date from FY
    Summary: If you want to use a Perl script, there is a module on CPAN which would make it very easy to calculate fiscal dates. http://search.cpan.org/~jshy/Date...

Delete Files Older Than 2 Weeks
    Summary: Hi, I am trying to delete log files older than a certain date using a Korn shell script. The best suggestion I've found (on this board) is to calculat...

weeknumber out of given date
    Summary: Calculation of ISO week turns out to be somewhat involved, but still I managed to calculate it with just a single call to cal to establish how January...

Date Calculation
    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...

get weekday from 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...

unix date scripts
    Summary: I need to write a script to get the start date and end date of the previous week. Say it is monday the 28th, I need the system to give me 10/21/2002 a...

Files older than 20 mins...
    Summary: One approach is to analyze the date-time from an ls -l. I would pipe it into awk for analysis. But it's a pain to compute 20 minutes back because yo...

Unix Modification Date
    Summary: So say today is Feb 14,2003 then calculate the number of days till that date, i.e 46 days, then give : find . -type f -mtime 46 >/tmp/err ...

Calculating time difference
    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...

How to check date in unix
    Summary: I ran across a neat solution a while back (posted by "mib") that computed yesterday's date. Here is my version, based on that logic, which goes back ...

increase year, month,day in a loop
    Summary: First off, you are going to have to split your date ranges into something like: YYYY MM DD YYYY MM DD This will avoid awk'ing the 2 input parameters t...

Get Tomorrow's Date in ddmmyy
    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/...

script execution time calculation
    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))) ...

set variables from date conversion
    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...

Check time elapsed in a record.
    Summary: I need some help with a script that will do the following: 1. Does a grep for a particular word in a file. 2. If the word exists, then it checks the i...

subtracting days from current date
    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...

date in file name
    Summary: I got the Back-tic now is there any way I can use the first date statement and do a -1 to use the previous month ie xref.`date '+%Y%m'`.zip5.s will r...

Jump To: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | >>

Sponsored Results for: calculate previous date

Ads by Google