How to extract from OrderOpenTime()

Hi all, could you give me an help on how to extract the Hour number from OrderOpenTime() ?

I need to compare this to the Hour() function.

Thank you!

Hello you can use 

TimeToStruct()
int OrderOpenHour = ((int)OrderOpenTime() / 3600) % 24;

And if you only need the hour then you can also use 

int  hour=TimeHour(OrderOpenTime());
Than you very much!