Acceleratio.SPDG.Generator.SampleData.GetRandomDateCurrentMonth C# (CSharp) Method

GetRandomDateCurrentMonth() public static method

public static GetRandomDateCurrentMonth ( ) : System.DateTime
return System.DateTime
        public static DateTime GetRandomDateCurrentMonth()
        {
            DateTime randomDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, GetRandomNumber(1, 28));
            return randomDate;
        }