ComponentOne True DBInput Pro 8.0
TDBDateX Object

 

Reference> TDBDateX Object

TDBDateX Object

TDBDateX Object Properties

 

AMPM

Returns if the current time value is AM or PM (numeric expression).

Century

Returns the century.

DateSerial

Sets/returns the underlying date value.

Day

Returns the day portion of the date set in the Value property.

EraYear

Returns the era year.

FirstMonth

Sets/returns the base month for the fiscal year.

FiscalEraYear

Returns the fiscal era year for the date set in the Value property.

FiscalHalf

Determines if the date set in the Value property is in the first or second half of a fiscal year.

FiscalMonth

Returns the fiscal month.

FiscalQuarter

Returns which quarter of a fiscal year.

FiscalYear

Returns the fiscal year.

Half

The Half property returns the half of the year of the underlying date value dividing twelve months (one year) into two halves, the half to which the date value belongs is returned.

Hour

The Hour property returns the hour for the underlying value in the range of 0 - 12 depending on the 12-hour mode specified in the Hour12Mode property.

Hour12Mode

Sets/returns whether return the Hour as 12:00:00 or 00:00:00.

Hour24

Returns the hour of the time set in the Value property in 24-hour mode.

IsLeapYear

Returns if the year is a leap year.

JulianDate

Returns a Julian Date.

MidnightMode

Sets/returns if midnight should return as 24:00:00.

Minute

Returns the minute portion of the entered time.

Month

Returns the month portion of a date.

MonthTable

Returns a matrix table layout of the month.

PosInMonth

Returns the position in month for the date set in Value property.

Quarter

Returns which quarter of the year.

Second

Returns the second portion of a time.

StartOfWeek

Sets/returns the starting weekday.

TimeSerial

Sets/returns the underlying time value.

Value

Sets/returns the date value in object.

ValueIsNull

Returns whether the date is set to NULL.

Version

Returns the version number of object.

Weekday

Returns the day of week.

WeekPattern

Sets/returns the pattern how to determine a week.

Year

Returns the year portion of a date.

 

TDBDateX Object Methods

 

AboutBox

Displays the About box for the control.

Compare

Compare two dates/times to see if they are the same.

DayInfo

Returns a numeric day for the specified period.

EndDate

Returns the ending date for the specified period.

EnumWeekdays

Returns an array of dates for the specific weekday in a range.

InRange

Returns whether a date/time is within the specified range.

Match

Determine the differences between two dates/time.

NextWeekday

Returns a date for the coming specified weekday.

PickDate

Returns a date for the specified day.

PrevWeekday

Returns a date for the past specified weekday.

SinceMidnight

Returns how many seconds/minutes have passed since midnight.

StartDate

Returns the starting date for the specified period.

TotalDays

Returns the number of days for the specified period.

TotalWeeks

Returns the number of weeks for the specified period.

WeekInfo

Returns the week number for a specified date.

 


TDBDateX Object Properties

TDBDateX Object Methods

 

 


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

Product Support Forum  |  Documentation Feedback