vendredi 29 septembre 2017

Need to add a zero in front of the minute when minute < 10 minutes Python

    if EndTimeMinute < 10:
        EndTimeMinute = EndTimeMinute 

Need to add zero here

Currently the result is just coming out as a single digit. So the time is going out to 1:1. I need to make it so that my code bring out the time as 1:01.

Aucun commentaire:

Enregistrer un commentaire