Acceleratio.SPDG.Generator.SampleData.GetRandomDateCurrentMonth C# (CSharp) Méthode

GetRandomDateCurrentMonth() public static méthode

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