dateToUnix: Date string to Unix timestamp.

Description Usage Arguments Value See Also

View source: R/tools.R

Description

Returns a Unix timestamp with a date or datetime string. It also accepts a list or vector of strings and returns a converted list of Unix timestamps. Consult documentation here.

Usage

1
dateToUnix(date_time_str, date_format, timezone = "GMT")

Arguments

date_time_str

String with a date in any format. For example: ‘6.2.1986 22:11:00'. This can also be a datetime string vector or the datetime column in your anchor.

date_format

The format of the date string.

timezone

String of timezone, Default GMT. To list possible timezones execute OlsonNames()

Value

A double unix timestamp or a vector of those doubles.

See Also

To see more details go to openblender.io


openblender documentation built on Dec. 1, 2020, 3:01 a.m.