parse_excel_date: Function to parse Microsoft Excel's numeric date.

View source: R/lubridate_supplements.R

parse_excel_dateR Documentation

Function to parse Microsoft Excel's numeric date.

Description

Depending on what version of Microsoft Excel, there are two origins used.

Usage

parse_excel_date(x, tz = "UTC", type = "windows")

Arguments

x

Numeric vector.

tz

Time-zone. Default is "UTC".

type

Type of Microsoft Excel date. Can be "windows" or "os_x_2007".

Value

POSIXct vector.

Author(s)

Stuart K. Grange

See Also

stackoverflow, unix_time_to_excel_date


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.