Answers for "'datetime.date' object has no attribute 'split'"

0

'datetime.date' object has no attribute 'split'

You can use strftime:

get_program_hours = stop_time.strftime('%H')
get_program_minutes = stop_time.strftime('%M')
Posted by: Guest on January-23-2022

Code answers related to "'datetime.date' object has no attribute 'split'"

Python Answers by Framework

Browse Popular Code Answers by Language