A single date function to subtract x days from a date yymmdd
- Status: Closed
- Prize: $30
- Entries Received: 8
Contest Brief
I have a an urgent need (today) for a new single shell script function that will take two parameters and return a string with a date representation
parameter one, date string in yymmdd format
parameter two, number of days to subtract from that date
function needs to return a date string with the result subtracting the number of days parameter two
e.g. DateDiff 140724 13
would return 140711 as a return string.
This is to execute on AIX, not linux. Therefore the GNU date -d is not function is not available.
Script does not have to be original, feel free to use free online resources. Installing new libraries on AIX box is not an option.
Must use standard libraries.
Note this is an urgent need, will quickly award job and it needs to be finished in the next 3 hours approximately.
Thanks.
Recommended Skills
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!