Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you look on the egg carton, there should be a 3-digit date code telling you when the eggs were laid. That code is the day number of the year (so 032 would be Feb 1, 182 is July 1, etc). I've gotten in the habit of figuring out which day number it currently is, then at least I know how old the eggs are that I'm getting.


Julian day, FWIW.

The Linux / MacOS 'date' command will give you that:

    date +%j
They make date math easy.

If you want to know a specific date, add the Julian day to Jan 1 for the year:

    date -d "Jan 1 2014 + 358 days"


Would the expiration date not proportionally correlate to the date the eggs were laid?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: