fabi.s

Generation

generate functionThu, 03 Nov 2022

get date for now like this format: 2021-02-01

import datetime def get_date(): now = datetime.datetime.now() return now.strftime("%Y-%m-%d") get_date()

Want to kickstart your project?Use the new AI Studio to create your code