#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-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