send: don't used getlogin() and simplify put_date()