Tomorrow’s Date using Shell Script Commands

This page answers questions like these:


Related Links:
Yesterday's Date using Shell Script Commands
What Day of the Week Was It?
Is this Year a Leap Year? (using Shell Script Commands)



How to get Tomorrow’s Date using a Shell Script Command?

date -d tomorrow "+%Y-%m-%d"

How to get the Time One Hour Ahead using a Shell Script Command?

date -d "+1 hour" "+%H:%M:%S"



Related Links:
Yesterday's Date using Shell Script Commands
What Day of the Week Was It?
Is this Year a Leap Year? (using Shell Script Commands)

Home  >  Linux / Unix  >  Tomorrow’s Date using Shell Script Commands


Tags: tomorrow shell script, date, tomorrow’s date, shell script, shell command, linux, unix, solaris, bsd, aix

Copyright © HelpDoco.com
date-tomorrow.txt
Linux-Unix/tomorrows-date-using-shell-script-commands.htm
2