Random DateTime for testing

 private readonly Random _gen = new();
        private DateTime RandomDay()
        {
            DateTime start = new DateTime(1995, 1, 1);
            int range = (DateTime.Today - start).Days;
            return start.AddDays(_gen.Next(range));
        }


Comments

Popular posts from this blog

JSON Web Tokens

GHL Email Campaigns

Death of Codeium & Windsurf