I'm trying to calculate a datetime - int, which way would be the best to realize this?
DateTime currentTime = new DateTime();
int test = 23;
dateTime newDate = currentTime - test;
This example doesn't work, which way could I realize this?
I appreciate any kind of help