ComponentOne True DBInput Pro 8.0
Weekday Property (TDBDateX)

 

Reference> TDBDateX Object> TDBDateX Object Properties> Weekday Property (TDBDateX)

Weekday Property (TDBDateX)

Returns the day of week for the date set in the Value (TDBDate) and Value (TDBDateX) properties.

Syntax

object.Weekday

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

Values

Description

Run Time

1 - Sunday

dbiSunday

2 - Monday

dbiMonday

3 - Tuesday

dbiTuesday

4 - Wednesday

dbiWednesday

5 - Thursday

dbiThursday

6 - Friday

dbiFriday

7 - Saturday

dbiSaturday

Remarks

When the Value property equals Null, the Weekday property will return a -1.

The Weekday property returns the same number as the Weekday function in Visual Basic.

See Also

Year Property (TDBDateX)

Month Property (TDBDateX)

Day Property (TDBDateX)

 

 


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

Product Support Forum  |  Documentation Feedback