Skip to main content
6 of 9
deleted 3 characters in body
t-clausen.dk
  • 3.8k
  • 12
  • 16

#T-SQL, 42 bytes

Supports all positive integer input

Returns 1 for true, 0 for false

DECLARE @ INT=235959

PRINT-1/~(@/5000/48+@/100%100/60+@%100/60)

I was able to golf it 1 byte

@/10000/24 was changed to @/5000/48

t-clausen.dk
  • 3.8k
  • 12
  • 16