They are both fine. Your teachers may tell you that you need I rather than me in sentence 1. Native speakers almost all say me.1) He joined the company on the same day as me.
2) I don't know the name of the person who joined the company with me.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: