Skip to main content
8 of 9
fixed my name
Neil
  • 177.2k
  • 12
  • 74
  • 281

#T-SQL, 42 41 bytes

Saved 1 byte thanks to @Neil

Supports all positive integer input

Returns 1 for true, 0 for false

DECLARE @ INT=235959

PRINT-1/~(@/240000+@/100%100/60+@%100/60)
t-clausen.dk
  • 3.8k
  • 12
  • 16