ComponentOne True DBInput Pro 8.0
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.

Syntax

object.DayOfYear

Read-only at run time. Not available at design time.

Remarks

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

DayInfo Method (TDBDateX)

Value Property (TDBDate)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback