Learn R Programming

maestro (version 0.5.3)

convert_to_seconds: Convert a duration string to number of seconds

Description

Convert a duration string to number of seconds

Usage

convert_to_seconds(time_string)

Value

number of seconds

Arguments

time_string

string like 1 day, 1 week, 12 hours, etc.