DuckDB Plugin for Xojo

EinhugurDuckDB.Timestamp Class (console safe)

A class to represent timestamp 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 timestamp in any way.

Object
   Timestamp

class EinhugurDuckDB.Timestamp

Constructors

TimestampConstructs EinhugurDuckDB.Timestamp object from year, month, day, hour. minute, second and millisecond.
TimestampConstructs EinhugurDuckDB.Timestamp object from EinhugurDuckDB.Date and EinhugurDuckDB.Time
TimestampConstructs EinhugurDuckDB.Timestamp object from Xojo DateTime object.

Properties

DateReturns date component of the timestamp. (Read only)
TimeReturns time component of the timestamp. (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