Link to home
Start Free TrialLog in
Avatar of richard_gar
richard_gar

asked on

vb.net get current date minus a day

Hey All,

I am getting the current date like so: DateTime.Today.ToString("yyyyMMdd") What I want to do is get the current date but minus 1 day so:

Today: 20/02/2009 but I want the 19/02/2009

How can I do this in vb.net
ASKER CERTIFIED SOLUTION
Avatar of PaulHews
PaulHews
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
richard_gar,

Maybe an A grade would have been a better choice?  The answer was complete, and self-explanatory.

Please see the help on the grading policy.
https://www.experts-exchange.com/help.jsp?hi=403