To set the different pattern for the dates in the DateTimeEdit control, the Pattern property can be used. The Pattern property consist of different values, as follows below:
The following code snippet shows how to set the YearMonth pattern in the DateTimeEdit control using Pattern property. Similarly, the different patterns can be set using the Pattern property.
The following output shows the Year and Month by setting YearMonth pattern
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|