Blazor コントロール
日時書式
コントロール > DateTimeEditor > DateTimePicker の概要 > 日時書式

DateTimePicker allows you to set the date format for displaying the date in a specific format. You can use Format property of the C1DateTimePicker class to set the standard date format for the DateTimePicker control. The following code showcases the use of Format property to set the "MM-dd-yyyy" date format to display date in the control.

C#
コードのコピー
<C1DateTimePicker Value="DateTime.Today" Format="MM-dd-yyyy"></C1DateTimePicker>