python compare timestamp code example Example: how to check if its later than python datetime.datetime.now().hour == 8