Comment

Comment by FigurativeVoid

I used to work at a company that stored all dates as ints in a YYYYMMDD format. When I asked why, I was told it was so we could subtract 2 dates to get the difference.

I asked them why they couldn’t use DATEDIFF since this was in a sql db.

They said they hadn’t heard of it and that it must be new.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton