date to integer or long ?

 

hi guys   is correct  write  in this mode??

long  RslTime ;
int ManyTime=2;

RslTime = Hour()*ManyTime;
 
If it is 5 AM; what does 5*2 mean? If it is 5 PM; what does 17*2 mean?
 

if hour ,example is 15  15*2=30 simply number not hour

is possible ?

 
15*2 is always 30. A number. There is no data type called hour.
Reason: