Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Howto check dates ...

View gist:7607096
1
int doy(int d,int m,int j){return (m>0&&m<13&&d>0&&d<(m-2?(m+(m>7))%2+31:(!(j%400)||!(j%4)&&j%100)+29))*(d+(((m--)+(m>7))/2)+m*30-(m>1)*(2-(!(j%400)||!(j%4)&&j%100)));}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.