string_to_seconds: Convert time string to seconds after midnight

View source: R/utils.R

string_to_secondsR Documentation

Convert time string to seconds after midnight

Description

Converts strings in the "HH:MM:SS" format to seconds after midnight.

Usage

string_to_seconds(string)

Arguments

string

A string in "HH:MM:SS" format.

Value

The seconds after midnight of a given time string as an integer.


gtfstools documentation built on Nov. 24, 2022, 5:09 p.m.