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.

    • hddsx@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      I maintain that dd/mm/yyyy and mm/dd/yyyy are stupid.

      Big -> small is how we read numbers:

      yyyy/mm/dd

      • Old Jimmy Twodicks@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        I prefer the simple dy/my/dy/my format (with the year reversed for added ease of use). For example, today would be 14/02/70/72.

        NIST and ISO have stopped responding to my emails, but I’m optimistic that the Türk Standardları Enstitüsü will eventually adopt it as their preferred standard.

      • esc27@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        4 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.

      • Fubber Nuckin'@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Yes but small is more relevant since you’re more likely to know the big. therefore i propose we put minutes ahead of hours.

  • Euphorazine@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    July 16th is the 197th day of the year on non leap years. July 17th is the 199th day of the year on leap years.

    Both of those are prime.

    • booly@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Well the convention was to store it as a 32 bit signed integer, so that is any number from -2^31 to (2^31 - 1). Prime numbers are formally defined as a subset of whole numbers, so let’s ignore the negative numbers and the number zero.

      Fun fact: the largest signed 32-bit integer is itself a prime. And the wikipedia page lists it as the 105,097,565th prime.

      By the time we hit the 2038 problem, there will have been about 105 million seconds since 1970 where the Unix time was a prime number. And it’s a 10-digit number in base 10, where prime frequency is something about 4% of the numbers.

      Does that answer your question about prime frequency today? Eh, I’m sure someone else can figure that out. If not, I’ll probably have to wait until I’m in front of a computer.