Learn R Programming

M3 (version 0.4)

decipher.M3.time: 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)

Value

List with the following components

hrs

hours

mins

minutes

secs

seconds

Arguments

M3.time

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

Author

Jenise Swall

References

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

See Also

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

Examples

Run this code
## 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)

Run the code above in your browser using DataLab