subtracting Tue, Feb 26, 2008 01:38:25 AM from Mon, Feb 25, 2008 09:30:03 PM
Hi,
Please help me out in creating a script which will subtract Tue, Feb 26, 2008 01:38:25 AM from Mon, Feb 25, 2008 09:30:03 PM and will give me out put in the format hh:mm:ss.
Please do not open multiple threads for the same problem. You already have opened 3 other threads. Break the rule once more and you will earn a temporary ban.
I'm trying to use AWK to filter on some dates in a field by converting them to Unix Time.
mktime(strftime(format,"6-FEB-2013 08:50:03.841")What is the proper format for my date strings as they appear in my database?
My first thought is %d-%b-%Y %H:%M:%Sbut I see the following issues:
%d is... (3 Replies)
I have the following script to find out the last day of the last month .... and the output of this script is in the following format ...
Script goes like this ....
#!/bin/ksh
cur_month=`date +%m`
cur_year=`date +%Y`
prev_month=$(($cur_month-1))
# Check to see if this is January
if ... (8 Replies)