from_filename_date_str: Convert timestamp component of SeaFlow filenames to POSIXct.

View source: R/time.R

from_filename_date_strR Documentation

Convert timestamp component of SeaFlow filenames to POSIXct.

Description

Convert timestamp component of SeaFlow filenames to POSIXct.

Usage

from_filename_date_str(timestamps)

Arguments

timestamps

Character vector of timestamp components of SeaFlow filenames matching the format YYYY-MM-DDTHH-MM-SS+HH-MM, for example "2020-07-23T14-04-05+00-00". This corresponds to the RFC3339 formatted timestamp "2020-07-23T14:04:05+00:00".

Value

POSIXct vector


uwescience/popcycle documentation built on Jan. 29, 2025, 9:50 a.m.