How to easily Append Timestamp to File Name?

This can be done by the following:

DateTime.Now.ToString(“yyyyMMddHHmmss”);

Thanks to information from the following stackoverflow answer:

http://stackoverflow.com/a/7898476

Advertisements