[{"data":1,"prerenderedAt":165},["ShallowReactive",2],{"project-34203152":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":32,"aspects":33,"strip":38,"post_text":39,"what":40,"said":49,"maker_in_thread":97,"shape":109,"grid":113,"attempts":126,"same_week":127,"maker_shows":156,"maker_hidden":157,"reader_version":158,"card":159},"34203152","Daystamp","like timestamp but for storing days (of birth, etc.)","title","Show HN: Daystamp – like timestamp but for storing days (of birth, etc.)","https:\u002F\u002Fgithub.com\u002FQbix\u002FDaystamp","github.com","EGreg",1672542112,2023,2,9,3036,3109,98,"shown","languages","date format library","library",[24,25,26,27],"date format","day timestamp","epoch days","proleptic gregorian","roasted",-0.455,{"positive":31,"neutral":31,"mixed":31,"critical":32},0,5,{"design":34,"idea":36},{"positive":31,"critical":35},4,{"positive":31,"critical":37},1,[37,31,37,31,37,31,37,37,31],null,{"problem":41,"audience":39,"pricing":39,"motivation":39,"time_to_build":39,"stack":47,"openness":48,"stage":48,"team_size":48},{"value":42,"source":43,"evidence":44},"Storing calendar days like birthdays as a compact timestamp-style value.","maker",[45],{"id":46},"post",[],"unknown",{"praise":50,"objections":51,"requests":80,"questions":81,"alternatives":86},[],[52,60,70],{"value":53,"source":54,"evidence":55},"Epoch choice of year 0, month 0, day 1 is unusual compared to other day-based systems.","commenter",[56],{"id":57,"by":58,"text":59},"34203369","theamk","this is using epoch \"year=0, month=0, day=1\", which is pretty unusual for day-based timestamps. Turbo Pascal and its descendants use \"days since dec 30, 1899\":…",{"value":61,"source":54,"evidence":62},"Proleptic Gregorian calendar breaks historical dates, such as Julian-era births and calendar adoption gaps.",[63,67],{"id":64,"by":65,"text":66},"34203640","necovek","There's nothing usual about extending Gregorian calendar backwards: you likely mean proleptic Gregorian calendar if you use 0000-01-01 as the start date. Gregorian calendar had…",{"id":68,"by":65,"text":69},"34204493","Da Vinci was born on 15 April 1452 of what was the incumbent Julian calendar. How do you represent that date with your daystamp? In proleptic Gregorian calendar, it will be a…",{"value":71,"source":54,"evidence":72},"Regional New Year and calendar adoption dates make historical year values problematic.",[73,77],{"id":74,"by":75,"text":76},"34204578","defrost","Not to mention that various historic dates in particular regions are highly problematic wrt Year. Today, now, here in Australia it's January 1st 2023 .. but in countries and at…",{"id":78,"by":65,"text":79},"34205437","I just realized you may not know of all the different Gregorian calendar adoption dates: https:\u002F\u002Fen.m.wikipedia.org\u002Fwiki\u002FList_of_adoption_dates_of_the_Gregorian_calendar_by_country",[],[82],{"value":83,"source":54,"evidence":84},"How should dates from the Julian calendar, such as Da Vinci's birthdate, be represented?",[85],{"id":68,"by":65,"text":69},[87,93],{"value":88,"source":54,"evidence":89},"Julian Day numbers already exist.",[90],{"id":91,"by":65,"text":92},"34203601","There is already Julian Days, though they are off by 0.5 since they've got day start at noon (Sun in the zenith).",{"value":94,"source":54,"evidence":95},"Turbo Pascal TDateTime and Excel date systems use different day bases.",[96],{"id":57,"by":58,"text":59},{"comments":98,"answered":31,"key":99},3,[100,103,106],{"id":101,"text":102},"34203602","Erlang uses this epoch",{"id":104,"text":105},"34203604","This is for the usual Gregorian Calendar",{"id":107,"text":108},"34203779","please elaborate",{"commenters":35,"max_depth":110,"maker_replies":98,"first_comment_mins":111,"lifespan_hours":112},6,41,8,[114,116,118,120,121,122,123,124,125],[57,31,37,115,58,31],"project\u002Fcritical\u002Fdesign",[101,31,31,117,11,37],"commenter\u002Fneutral\u002Fnone",[91,37,37,119,65,31],"project\u002Fcritical\u002Fidea",[104,37,31,117,11,37],[64,37,37,115,65,31],[107,37,31,117,11,37],[68,37,37,115,65,31],[74,37,37,115,75,31],[78,37,31,117,65,31],[],[128,133,138,143,147,152],{"id":129,"name":130,"points":131,"category":132},"34196340","Pole Clock",440,"productivity",{"id":134,"name":135,"points":136,"category":137},"34237195","A device that only lets you type lol if you've truly laughed out loud",321,"hardware",{"id":139,"name":140,"points":141,"category":142},"34214896","Mafs",196,"dev_tools",{"id":144,"name":145,"points":146,"category":142},"34242275","Ov",181,{"id":148,"name":149,"points":150,"category":151},"34173761","elonman.com",149,"creative",{"id":153,"name":154,"points":155,"category":132},"34188734","RSS Brain",139,11,false,"v2",{"id":160,"name":5,"line":6,"ai":157,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":161,"top":18,"kw":162,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":163,"url":9,"mix":164,"praise":-1,"objection":53,"sub":21},34203152,-0.45,[24,25,26,27],"101010110",[31,31,31,32],1794036628972]