I have this VB codes:
DateAdd(DateInterval.Day, -7, Today))
I need to convert it to C#, any idea?
Thanks a lot,
DateTime.Now.AddDays(-7);
Thanks a lot for the quick response,
Can I use: DateTime.Today.AddDays(-7) ?
I'm not sure what you are asking. Have you tried the code? Are the results what you expect?