as.sim_datetime function

Transformation from a datetime to a sim_datetime