Date Script
Answered
Posted Aug 17, 2023
Hello,
Im trying to have the date displayed in this format: mmddyy
Im using this script:
{% capture today %}{{'now' | date:'%s' | minus:0600| date:'%m%d%Y'}}{% endcapture %}{{today}}
but I dont know how to make the year two digits. any tips?
0
2
0 comments
Sign in to leave a comment.