strphour: Convert time string to decimal hour

View source: R/lib.R

strphourR Documentation

Convert time string to decimal hour

Description

Convert time string to decimal hour

Usage

strphour(x, fmt = "(%m/%d/%y %H:%M:%S)")

Arguments

x

input character vector of times

fmt

input character format for times

Value

numeric vector of decimal times in hours

Examples

strphour("31/08/87 12:53:29")


awblocker/networkTomography documentation built on May 14, 2022, 10:05 p.m.