samedi 29 décembre 2018

Create random minutes date between given hours

Desired output: Time gap in given range of time, namely from 5:30 to 8:15 Something like:

05:17   
07:01        
06:05        
06:09        
05:16        
07:26  

Tried this one: Create random time stamp list in python but getting an error in:

for x in random_date(startDate,10):
  print x.strftime("%d/%m/%y %H:%M")




Aucun commentaire:

Enregistrer un commentaire