I've been searching all over and cannot find a single solution that seems to do what I need, all of them are for a specific date and I need to dynamically subtract days only.
This is my current code:
DateTime.Now.AddDays(-30).ToString("M/d/yyyy");
The .ToString("M/d/yyyy");
part is what I'm currently using to convert to a human readable date. I need to get the DateTime into a unix format.
Any help or suggestions on this would be great, thanks!