It depends on many factors, including how the website is built. For example, if you commission a programmer to create it, its creation may take several days or months. When using a website builder, it takes a few hours to a few days to build a website from scratch (and even faster when using a website template).