PSTestLib.Helpers.TracingControl.GetCurrentDateTime C# (CSharp) Method

GetCurrentDateTime() private method

private GetCurrentDateTime ( ) : string
return string
        string GetCurrentDateTime()
        {
            var now = DateTime.Now;
            return (string.Format("{0}{1}{2}{3}{4}{5}", now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second));
        }
    }