Amazon is running a Prime Day sale on July 16 and 17. Setting aside the fact that this is two separate days, neither 716 nor 717 are prime numbers. They should’ve done 7/19 instead.

  • esc27@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    5 months ago

    What if we just count all the nanoseconds since 1601 and divide by 100.

    I still don’t get that timestamp approach. Especially after learning how unix/linux handle it…

    At least modern AD tools can automatically do the date conversions now.

    • hddsx@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Because it’s a basic data structure that holds time, instead of multiple interrelated ints…. And it’s easy to do math on.