str_to_timestamp: Convert a string to a timestamp

Description Usage Arguments Value See Also

Description

Convert a string to a timestamp

Usage

1
str_to_timestamp(s, timeformat = "%Y%m%dT%H%M%S")

Arguments

s

A string containing a timestamp. If s is already a timestamp (POSIXct) the function does nothing and returns the input value.

timeformat

The timeformat used to parse the string. Default is "%Y%m%dT%H%M%S".

Value

A timestamp.

See Also

Other utilities: defactor, ensure_path, extract_segment_block, extract_segment_s, extract_segment_timestamp, extract_segment, generate_result_row, generate_segments_from_block, generate_segments, get_file_extension, get_filename_parts, hr_from_ibi, ibi_from_ecg, integrate_power, num_to_timestamp, replicate_df_row, seconds_to_indices, timeintervals_to_seconds, timestamp_to_seconds, timestamp_to_str


bwrc/colibri documentation built on May 13, 2019, 9:10 a.m.