'Format current date and time in VBScript

I was wondering if someone could help me.

I'm very new at ASP I want to format the current date and time as follows:

yyyy-mm-dd hh:mm:ss

But all i can do is the following

Response.Write Date

Can someone help me out please.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source