Start time to current time on x axis

Can anyone help me put time on the bottom with start time to current time hourly

import matplotlib
import matplotlib.pyplot as plt
import numpy as np
from time import gmtime, strftime

nowTime=(strftime("%H", gmtime()))

t = np.arange(0.0, 2.0, 0.01)
s = 1 + np.sin(2 * np.pi * t)

fig, ax = plt.subplots()
ax.plot(t, s)

ax.set(xlabel=‘time (s)’, ylabel=‘y Axis’,
title=‘Test time’)