sunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 19 hours agoI'm new to using Ruby and this tickled me pinklemmy.mlimagemessage-square68linkfedilinkarrow-up1215arrow-down17cross-posted to: programmer_humor@programming.dev
arrow-up1208arrow-down1imageI'm new to using Ruby and this tickled me pinklemmy.mlsunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 19 hours agomessage-square68linkfedilinkcross-posted to: programmer_humor@programming.dev
minus-squarehinterlufer@lemmy.worldlinkfedilinkarrow-up2·14 hours agoone could certainly implement something like that in python, something like time.now - 10 * time.unit.year
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up1·2 hours agoDoes this account for leap years?
one could certainly implement something like that in python, something like
time.now - 10 * time.unit.year
Does this account for leap years?