Globalization in Blazor DateTime Picker
14 Aug 20261 minute to read
The Blazor DateTimePicker component reflects the application’s culture based on the system culture. Date and time formats, month and day names, and other culture-specific settings are derived automatically from the current culture.
Right-To-Left
The DateTimePicker supports right-to-left (RTL) layout for languages such as Arabic and Hebrew. Set EnableRtl="true" to render the component right-to-left. The default value is false. RTL layout is independent of the system culture; both can be combined to achieve the desired language and layout.
The following example enables RTL layout on the DateTimePicker.
@using Syncfusion.Blazor.Calendars
<SfDateTimePicker TValue="DateTime?" EnableRtl="true"></SfDateTimePicker>