datetime_to_epoch now takes into account the milliseconds