I would like to add 1 day with 3 hours + datetime.now.
mante = Employee() mante.usercompany = idnamez mante.knowledgelost = datetime.datetime.now()+1 day more 3 hours. mante.seguemplelost = datetime.datetime.now()+1 mante.put()
Someone knows how to do it?
now() function Return the current local date and time, which is defined under datetime module.
datetime.datetime.now() + datetime.timedelta(days=1, hours=3)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With