How do I format date and time strings in Blazor?

The format-value attribute is used to format the DateTime strings. Other formats, like currency or number formats, are currently not available. Refer to the link format strings to learn more about formatting.