On 12/18/23, David Wright <deb...@lionunicorn.co.uk> wrote: > Another problem in what you posted is that you sometimes run date > in your local timezone (generally for the "now" times), but you > append +00:00 as the timezone for those --date strings that you > construct from several substrings. You need to use UT throughout.
What difference would that make when all I need is a time difference? The way I understand such time format issues is that it needs to just be the same in the two dates. >> ANyway, my hack around it wasn't effortful at >> all. > > I don't know whether you're referring to something already posted, > or some new script written in the wake of what you've read here. That silly hack which lousy bash script I posted within its test case lbrtchx