Date Format property

Use the Date Format property to specify whether date and time values for a component display the date only, the time only, or both the date and the time. The property can be set on components for which the Underlying Type property is Date.

Setting Description
Date Only Format the component's value showing date only.
Time Only Format the component's value showing time only.
Date and Time Format the component's value showing date and time.

Default formats for date and time are those specified in the regional settings in Windows Control Panel.

相关主题