What's the best way to make a time from "Today" or "Yesterday" and a time in Python?
- by sh1mmer
Python has pretty good date parsing but is the only way to recognize a datetime such as "Today 3:20 PM" or "Yesterday 11:06 AM" by creating a new date today and doing subtractions?