Try:
string value = DateTime.Now.ToString("ddMMyyhhmmss");
Just noticed - you said "invoice number"?
There are normally rules about invoice numbers, in that they must be sequential (so that the Tax office can be sure that there aren't any missing) - this does not do that, and would probably be a bad idea as a result.