Try needing Julian day. If you're coding then strftime() has supported it since 1989. All you need is "%j" and there it is, with leap year handling, etc.
The end goal isn't a good/flexible/powerful user experience for the person who bought the device; it's a larger user base that can be marketed to The Machine for more money out the back end.