seconds.to.hms-deprecated

0th

Percentile

Converts a time value given as number of seconds since midnight to the H:M:S format

This function is very similar to strftime with the %X conversion specification. Hour values larger than 24 are permitted. Fractions will be rounded down to the next integer. Non-numeric values are coerced to NA with a warning.

Usage
seconds.to.hms(x)
Arguments
x

A (vector of) numbers.

Value

A (vector of) character values of the same length as x.

See Also

base::strftime()

Other deprecated functions: coalesce.na-deprecated, df_to_list-deprecated, hms.to.seconds-deprecated, kimisc-deprecated, list_to_df-deprecated, nc-deprecated, nlist-deprecated, ofactor-deprecated, sample.rows-deprecated, thisfile-deprecated, tll-deprecated, vswitch-deprecated

Aliases
  • seconds.to.hms-deprecated
  • seconds.to.hms
Examples
# NOT RUN {
seconds.to.hms(c(1, 60, 3600.5))
seconds.to.hms(c(100000, -4000.5))
seconds.to.hms("invalid")
# }
Documentation reproduced from package kimisc, version 0.4, License: GPL-3

Community examples

Looks like there are no examples yet.