emr_time2hour | R Documentation |
Converts time from internal format to an hour.
emr_time2hour(time)
time |
vector of times in internal format |
This function converts time from internal format to an hour in [0, 23] range.
Vector of converted times. NA values in the vector would be returned as NA's.
emr_time2dayofmonth
, emr_time2month
,
emr_time2year
, emr_date2time
emr_db.init_examples()
# 30 January, 1938, 6:00 - birthday of Islam Karimov
t <- emr_date2time(30, 1, 1938, 6)
emr_time2hour(t)
emr_time2dayofmonth(t)
emr_time2month(t)
emr_time2year(t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.