In reality I always use a string. And always in the format YYYY-MM-DD with the optional addition of hh:mm:ss. This means a full date-time is only 19 bytes instead of 32 or 64 since 95% of the time I don't need the millisecond accuracy of epoch time.
Actually iirc, Unix time is 64 bits, not bytes. That means it’s only 8 bytes.
Yep. My mistake.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.