How to get a OHLC price by time, not know the time index ?

 
thank you!
 
I mean I know the datetime, not know the time index.
 
 

Yes, that is!


Thank you very much!

Reason: