How can I get hour and minute from market watch? - page 2

 
moslemS:
Sorry
but this code is not true

void OnTick()
  {

   MqlDateTime dt_struct;
   datetime dtSer=TimeCurrent(dt_struct);
   int min = dt_struct.min ;
   Comment(min) ;

  }
 
Alain Verleyen:

thank God

thank you very much Alain and thank you petr