C# specify kind on date
i am trying to work on getting data based on start and end date but i keep getting an error each time, this is what i have
how to make time changes while the compiler is running?
I am trying to generate random prime numbers without using stand() or rand() functions. I want to generate random numbers with the function that generates time in seconds as random values then check if it’s prime or not if it’s not prime then run the function that generates time again with different values.
The code gets me a Segmentation fault while its not prime 🙁
AddDays() method is adding months instead of days in c#
I want to read the date data type stored in the database, add a day to it and compare it with today’s date. But when I use the AddDays() method, it adds the month instead of the day.