Time format on time axis

The complete code of the above sample is given below: