I am trying to efficiently get the date part of a Time object.
To remove the time part of the Time object I subtract the modulo of a
day-in-seconds. But if I do this I get a Time object of the date plus
1 hour!!! Perhaps I’m just tired, but I don;t understand why.
(and I might apply Time.at to get a Time object rather than a float.)
However, the result of the above is
Anyone got any ideas?