About date and time formatting in Shortcuts
When building shortcuts, you may encounter situations where you want to format a date into text. Shortcuts offers a Format Date action for this purpose. Additionally, date and time formatting can be set in a variable.
The following sections discuss the date and time formatting options available in Shortcuts. It may be helpful to download this sample shortcut and experiment with the different date formats as you review the information.