I am able to get the current time as this:
import datetime
str(datetime.date.today().strftime("%Y-%m-%d"))
that prints
2016-06-26
but i need to add the minutes and seconds and hour
i search on internet and people are suggesting using this:
str(datetime.date.today().strftime("%Y-%m-%d %H:%M"));
but actually the %H:%M returns 00:00 always
can you help ?