this was for an old computer class project which I am over with and now am wondering if there was a better way of doing things .
we used to program an appointment.sh program where I solved the comparing time using an algorithm which converts time to a certain number you can compare today and tomorrow and of course what happens is it computes that tomorrow is greater and it's not today and you can schedule appointments based on whether or not the day/ hour is taken by comparing the said converted time.
i was wondering if there's an OS command to tell time with bash in linux? thanks!