DuckDB Plugin for Xojo

Timestamp.ToDateTime Method

Converts to Xojo DateTime

ToDateTime() as DateTime

Parameters

Returns

DateTime

Remarks

Note that the API1 version of the plugin has ToDate method which converts to Xojo Date instead of this method.

Xojo DateTime has some limitation where it cannot handle ancient dates. Like for example cannot handle Date before the year 1601 on Windows systems. In such cases this conversion method would return nil.

See Also

Timestamp Class