# [Desmos](https://desmos.com/calculator), <s>90</s> <s>82</s> 59 bytes ``` f(m,d)=total([0,31,28,31,30,31,30,31,31,30,31,30][1...m])+d ``` *Saved 23 bytes 'cause I was so dumb... I've been trying to do some clever list manipulation to save bytes, but it never came to my mind to just put the list itself.* ### Very Brief Explanation: `[0,31,28,31,30,31,30,31,31,30,31,30]`: The number of days in each month(excluding December), with an extra `0` element at the beginning. `total( ... [1...m])+d`: Sum of the first `m` elements of the list explained above, then add `d`. [Try It On Desmos!](https://www.desmos.com/calculator/euru1vs9z5) [Try It On Desmos! - Prettified](https://www.desmos.com/calculator/zxsenq72of) ## Solution using [Lynn's "closed form" formula](https://codegolf.stackexchange.com/a/230724/96039), 34 bytes ``` f(m,d)=floor(275m/9)-30+d-mod(2,m) ```