How can I replace months by numbers?