decipher.M3.time {M3}R Documentation

Decipher Models3 time format (HHMMSS) into hours, minutes, and seconds.

Description

Decipher Models3 time format (HHMMSS) into hours, minutes, and seconds.

Usage

decipher.M3.time(M3.time)

Arguments

M3.time

Time (numeric) in the format HHMMSS (hours, minutes, seconds).

Value

List with the following components

hrs

hours

mins

minutes

secs

seconds

Note

For more information about Models3 date-time conventions, see
https://www.cmascenter.org/ioapi/documentation/all_versions/html/DATETIME.html.
This function is called by function get.datetime.seq, but it will probably not be called by most users.

Author(s)

Jenise Swall

References

https://www.cmascenter.org/ioapi/documentation/all_versions/html/DATETIME.html

See Also

DateTimeClasses,
get.datetime.seq,
decipher.M3.date

Examples

## Note that the function breaks up the (numeric) input,
## where hours are designated by 00-23, minutes by 00-59, 
## seconds by 00-59.  
decipher.M3.time(030105)

[Package M3 version 0.4 Index]