jazper- this is fantastic! I really appreciate you creating this program!! may I ask is it possible to make a few small changes?
1) the extra :00
(seconds) at the end seems to always be "00
" at least in my testing. Can this simply be dropped? I do not need seconds calculated, minute resolution is enough.
2) can the time be output in 24-hour (military) notation? so instead of 5:29PM can it just output 17:29 ? If you prefer the 12hour notation then maybe add a switch like -24h
or something to allow the user to choose which format to output.
3) is it possible to allow the program to calculate the sunrise/sunset times of any arbitrary date, not just Today's date? example:-suntime 40.73N 73.98W -time sunrise -date 10/30/05
also, is the program compensating for daylight savings? if yes, how does it know this? (does it read time zone from current user?)
sorry for all the questions thanks again!!!