python datetime date only

116

python datetime date only -

# Use the date() method:
datetime.datetime.now().date()

convert datetime to date python -

datetime.datetime.now().date()

Comments

Submit
0 Comments