string_to_seconds {gtfstools}R 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.


[Package gtfstools version 1.3.0 Index]