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