Search Results

Search: Posts Made By: answer
1,376
Posted By answer
no in aix: aix-tst:/$ DATE=$(date -d "+2...
no in aix:

aix-tst:/$ DATE=$(date -d "+2 days")
date: Not a recognized flag: d
Usage: date [-u] [+"Field Descriptors"]
1,376
Posted By answer
AIX 7.1
AIX 7.1
1,376
Posted By answer
Two days ahead
Hi,
I have a code that will show one day ahead, how to make it show two days ahead

p-dev1-db-tst:/$ day=$(TZ=IST-24 date +%d)
p-dev1-db-tst:/$ echo $day
17
p-dev1-db-tst:/$

Regards, Adam
Showing results 1 to 3 of 3

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