Format datetimes in .NET
Type in a format string to see how it formats the datetime output.
The date, that is being formatted, is initialized as new DateTime(DateTime.UtcNow.Year, 12, 21, 6, 15, 45). 12 and 24 hours are then added so the result has 3 timestamps to show both AM and PM times and to have different dates as well.
The culture list is all available neutral cultures. If you need a specific regional culture you can type it out in the textbox under the dropdown.