Skip to content

Instantly share code, notes, and snippets.

Last active Apr 23, 2020
What would you like to do?
from datetime import datetime
fecha_cadena = "2020-04-23"
fecha = datetime.strptime(fecha_cadena, '%Y-%m-%d')
# Ahora ya tenemos a una fecha con la cual podemos operar, ver días, meses, años, etcétera.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment