This message was deleted.
# ask-marvin
s
This message was deleted.
m
thought for 9.1 seconds
"%Y%m%d"
is a common Python `strftime`/`strptime` date format for: *
%Y
= 4-digit year *
%m
= 2-digit month *
%d
= 2-digit day So it produces/parses dates like:
Copy code
20260721
20250103
In Python:
Copy code
from datetime import datetime

s = datetime.now().strftime("%Y%m%d")
print(s)
If you want, I can also show: * how to parse this into a
datetime
* how to use it in a Prefect flow * how to convert it to
YYYY-MM-DD