parse_sql_date: Parse date into POSIXct UTC from SQL db.

View source: R/db.R

parse_sql_dateR Documentation

Parse date into POSIXct UTC from SQL db.

Description

Parses the date according to the SQL driver used. Expects that if driver is Postgres this will already be POSIXct otherwise if SQLite driver converts to POSIXct.

Usage

parse_sql_date(con, date)

Arguments

con

Active db connection.

date

The date.

Value

The parsed date


vimc/dettl documentation built on Oct. 6, 2022, 2:13 p.m.