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: 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...
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'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: 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...
Summary: the best thing to do is use perl's stat function #!/usr/bin/perl -w @file_info = stat("../../rel/path/to/file"); $time = time; #calculate the differen...
Summary: hi, need to convert the date in a SQUID logfile to a 'normal' value like 2002/09/24 so that I can make some changes - afterwards I want to convert it ...
Summary: Hi Experts, Using unix-KSH script, we need to calculate the difference between two time intervals. for example; time_a=04:35:54 time_b=00:00:05 (...
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...
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: 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: Hi i have an issue with the post by Jim Boothe which shows to calculate the values of the week number. the issue is when for the dates other than that...
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: 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'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: Hi unixgirl, presently no other clue than to transform the dates: "daysofmonthspassed" + days (easy as long as in the same year, a bit more tricky to ...
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: Hi, I am trying to write an awk program (not shell script) to find the day of the week given the date "mm/dd/yyyy" as argument.The program should make...
Summary: Hi, I'm polling by snmp a router but the data polled need a date concatenated for each value, I'm doing this: snmpwalk -v 1 -c any 10.1.1.1 OID | awk...
Summary: Hi, I want a filename to be created with the date at the end of it(not the timestamp) in the format filename_YYMMDD. My command in shellscript would b...