There is no way to generalize a timeframe for replatforming as it is highly dependent on the complexity of the existing infrastructure and what would need to be changed during the replatforming process. Expect a process from several weeks to several months, although this timeframe can be reduced with the support and experience of a trusted partner in application modernization.