I recently had to search for something similar to this:
march 12 2019 + 366 days
and DuckDuckGo gave me exactly what I wanted while Google gave me not-very-useful results.
march 12 2019 + 366 days
and DuckDuckGo gave me exactly what I wanted while Google gave me not-very-useful results.
$ date -d 'march 12 2019 + 366 days'
Thu Mar 12 00:00:00 PDT 2020 $ python -c 'import datetime; print(datetime.date(2019, 3, 12) + datetime.timedelta(days=366))'
2020-03-12 perl6 -e 'say Date.new("2019-03-12").later( :366days )'
2020-03-12
perl6 -e 'say Date.new("2019-03-12") + 366'
2020-03-12 raku -e 'say "2019-03-12".Date + 366'
2020-03-12 ruby -e "require 'date'; puts (Date.parse('march 12 2019') + 366)"
2020-03-12 MacOS$ date -d 'now + 30 days'
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]GNU$ date -d 'now +30 days'
GNU$ date -u -d 'now +30 days'
Sun Apr 5 18:55:12 UTC 2020
(In BSD date, the '-d' argument "Set the kernel's value for daylight saving time.")> (Get-Date).AddDays(365)
What query did you do on google that didn't give you so good results?
I guess Google has figured out with its trillions(?) of queries how humans search and not how nerds search.
(Also interesting that you can infer that I'm on Ubuntu from my sharing of the search URL, though.)
I basically view it as a slightly more friendly/natural than traditional Mathematica interface.
February 29 2020 + 365 days