Convert time class into a moment

as_moment(x, ...)

Arguments

x

A time value to convert to a moment