خرید بک لینک

Vote count: 0

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 inteet and people are suggesting using this:

str(datetime.date.today().strftime("%Y-%m-%d %H:%M"));

but actually the %H:%M retus 00:00 always

can you help ?

asked 37 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 6 تير 1395 ساعت: 15:53

صفحه بندی