Learn R Programming

sjdbc (version 1.6.1)

jdbcTimeDate: Convert an splusTimeDate::timeDate object to standard JDBC Timestamp string

Description

Converts a timeDate vector to a character vector in the standard format expected by java.sql.Timestamp: yyyy-mm-dd hh:mm:ss.fffffffff (in GMT)

Usage

jdbcTimeDate(data)

Arguments

data

a timeDate vector.

Value

returns a character vector in the specified format.

See Also

exportJDBC

Examples

Run this code
# NOT RUN {
my.td <- as.POSIXct("2011/1/1")
jdbcTimeDate(my.td)
# }

Run the code above in your browser using DataLab