I prefer 'of' for the second, but 'in' is fine,It's on[STRIKE]/at[/STRIKE] the last day of/in Oct.
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: