chr2date: Internal: Convert character to date object and guess time...

Description Usage Arguments Details Value Author(s) Examples

Description

Makes sure, character strings are converted to date objects

Usage

1
2
3
chr2date(string, tz)
guess.tz(tz)
tz2offset(tz)

Arguments

string

The string containing the information about the date.

tz

The time zone

Details

What should be here?

guess.tz returns the correct string representation of tz that can be understood by 'strptime'.

tz2offset returns the time difference in hours to GMT.

Value

A POSIXct object with the date information

Author(s)

Dominik Reusser

Examples

1
#see code

RObsDat documentation built on May 2, 2019, 5:55 p.m.