Completely new to bash and having trouble working out how to make the arithmetic work. I think this should be easy, it's just.. argh.
I want to express the time of day in terms of 1/1000ths (ie, midday = 500, etc.)
I figured the script would need to find the number of seconds elapsed so far and then divide that number by 86.4, then return the resulting DDD
Any help? thanks so much