I want to create time that is based on
Year-Month-day
. Lets call ita_date
.I want to take current time with for example
datetime.now()
and format it to same format above. Lets call itb_date
.I want to tell if
b_date <= a_date
.
How do I do that? I tried several things with time.mktime()
and strftime
, but I'm little confused.