midnightStandard {timeDate}R Documentation

Midnight Standard

Description

Corrects 'timeDate' objects if they do not fulfill the ISO8601 midnigth standard.

Usage

midnightStandard(charvec, format)
midnightStandard2(charvec, format)  

Arguments

charvec a character string or vector of dates and times.
format the format specification of the input character vector.

Value

midnightStandard returns a character object and midnightStandard2 returns a POSIXct object.

Examples

## midnightStandard -  
   midnightStandard("2007-12-31 24:00")

[Package timeDate version 2110.87 Index]