Reference > TDBDate Control > TDBDate Control Properties > DayOfYear Property (TDBDate) |
This property allows you to determine the day of the year of a given date. For example, Feb. 22 will return 53, indicating it is the 53rd day of the year.
object.DayOfYear
Read-only at run time. Not available at design time.
When the Value property equals Null, the DayOfYear property will return -1.
This property is left in the control just for backward compatibility, and will not be supported in the future version. Therefore, we recommend you use the DateX object included in the package instead, which provides the equivalent feature.
See Also