Relative Content

Tag Archive for c#datetime

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 🙁