![]() |
bash: time difference and calculate the mid day of the day?
Hello,
In bash how to make the time difference and calculate the mid day of the day? |
Quote:
I wanna share it actually. So all in one : Code:
#!/bin/bash |
Ummm---the "mid day" of the day--AKA middle of the day--is 12:00 noon!! The time of sunrise and sunset is variable, but a day is defined by the clock and the calendar.
Perhaps you mean the time at which the sun is directly overhead? No--that occurs only at the equinox. The time at which the maximum elevation angle of the sun is exactly equal to the latitude? No--that only happens at the solstice. ??? |
Quote:
solstice, equinox ... what s the equation then to get max. sun, max UV point? |
| All times are GMT -5. The time now is 08:47 PM. |