Hi I'm back with more questions.
How can I take user input and display that as a date?
For example, I can use:
This will give $When the value of whatever the user types, right?Code:read -p "Enter the DATE: " When
My question is if the user types in the word Today, how can I have the script assign Today the meaning of the current date and place today's date in the $When variable.
In the end this script writes the variables $When $Name and $Duration to a text file that logs hours spent on different jobs.