To hide last seen in WhatsApp, go to Settings > Accounts > Privacy > Last seen. Change it from 'Everyone' to 'My contacts' or 'Nobody.' Note that when you disable last seen, you won't be able to see others' last seen either.