unix_time_to_excel_date: Function to convert unix time to a Microsoft Excel date.

View source: R/lubridate_supplements.R

unix_time_to_excel_dateR Documentation

Function to convert unix time to a Microsoft Excel date.

Description

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

Usage

unix_time_to_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".

Author(s)

Stuart K. Grange

See Also

stackoverflow, parse_excel_date


wacl-york/waclr documentation built on Dec. 8, 2022, 7:05 p.m.