If you’d like more detail on how formatting dates works, there’s a section on dates/times in this article on using templates: