sqlite> select datetime('2016-02-29 12:00:00', '-1 years');
2015-03-01 12:00:00bash$ date -j '0229120016' Mon 29 Feb 2016 12:00:00 AEDT bash$ date -j -v-1y '0229120016' Sun 1 Mar 2015 12:00:00 AEDT ____________ Graham Eddy > On 20 Sep 2019, at 10:30 am, Thomas Keffer <[email protected]> wrote: > > Damn. I just realized we have the same problem with years. Quick, what is > 2016-02-29 minus one year? > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAPq0zEByjsdoPLNX5ASoKOkrMSLbH1pmeVJrZOTunT1mb1_Z%3Dw%40mail.gmail.com > > <https://groups.google.com/d/msgid/weewx-user/CAPq0zEByjsdoPLNX5ASoKOkrMSLbH1pmeVJrZOTunT1mb1_Z%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/822BC5B0-A062-42C1-8CF7-1555EC05784D%40gmail.com.
