DuckDB Plugin for Xojo

EinhugurDuckDB.Date Class (console safe)

A class to represent date structure.

We choose to not use the Xojo DateTime class directly, because of its limitations and inability to handle historic dates. This class does have ToDateTime method though to convert to Xojo DateTime.

This class is only storage object, it does not interpret or validate the date in any way.

Object
   Date

class EinhugurDuckDB.Date

Constructors

DateConstructs EinhugurDuckDB.Date object from year, month and day.
DateConstructs EinhugurDuckDB.Date object from Xojo DateTime object.

Properties

DayReturns number of days (Read only)
MonthReturns number of months (Read only)
YearReturns number of years (Read only)

Methods

ToDateTimeConverts to Xojo DateTime

Supported Platforms:

  • macOS Intel 32 bit
  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit