Import mod_time from ejabberd