Here in Vancouver, we have been building apartments to house homeless using modular construction.
http://vancouver.ca/people-programs/temporary-modular-housin...
Start-to-finish I believe the timeframe is about six months and one of the benefits of modular is that they can reconfigure or move these buildings in several years as needs and neighbourhoods change.