C
C#3y ago
Reki-

date time excises

Please help me do my code Note : I’m new c# learning
5 Replies
Reki-
Reki-OP3y ago
I can’t do it Please help me
TheRanger
TheRanger3y ago
DateTime.Now returns the current date and time from ur pc You want to add 3 Days to the date you input not to the current date and this is how you format your date date.ToString("yyyy-MM-dd")
Reki-
Reki-OP3y ago
like this?
TheRanger
TheRanger3y ago
ToString returns a string, and u have to assign that string to a variable or use it directly in your Console.WriteLine
Reki-
Reki-OP3y ago
thank you so much catlove
Want results from more Discord servers?
Add your server