Date modified
<gcds-date-modified>
Also called: Last updated, version date.
Date modified is an indicator of the last update to a webpage or application.
-
GitHub -
Figma
Date modified component preview
Build a date modified component
Use the date modified component to identify the date a web page was last updated or the current version of an application.
Coding and accessibility for date modified
Keep the format consistent
- Use the YYYY-MM-DD date format across all web pages.
- If using the
type: version
, consider using a standard version number format across all products.
Get your code
Generate an instance of the component you need by selecting its code properties.
-
Explore by choosing different code values to generate the instance you want.
-
Get the code and pull it into your environment.
-
Add any copy you need to the component (like text for a label).
Note: The code builder uses English for all code elements, which follows standard practice.
Help us improve
Have questions or a request? Give feedback on our contact form.
Something's wrong? Raise it through GitHub with an