Search Results

Search: Posts Made By: ojthejuice
2,202
Posted By ojthejuice
Ohh, wow. Thanks
Ohh, wow.

Thanks
2,202
Posted By ojthejuice
Okay thanks, But what's wrong with this. I...
Okay thanks,

But what's wrong with this. I get this error './test.sh: line 14: test: -le: unary operator expected'


#!/bin/bash

SEC_IN_DAY=86400
EXP_DATE=`date -d 'May 17, 2012' '+%s'`...
2,202
Posted By ojthejuice
How do i compare two dates with format Jan 01, 2012 and Jan 00 2012
I need to be able to compare dates in the format of Jan 10, 2012 and Jan 10 2012. (Notice one has a comma).
Then I need to find the date that is 7 days before those dates if they are equal.
How...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy