How to find nearest time - value

I’ve managed it here