Answer the question
In order to leave comments, you need to log in
How to fix the days of the week?
I have a program written in c#. There are lines in the source code:
DateTime dateTime = DateTime.Now;
Console.WriteLine((dateTime.DayOfYear == 94) && (dateTime.Year == 2016) && (dateTime.DayOfWeek == DayOfWeek.Friday) ? Program.GetFlag() : "Sorry, try it another day");
Day 94 is Sunday
Question - is it possible to change the day of the week on the computer and run program.GetFlag()
Ps There is no source file - and I can not change the code (There is only a compiled executable)
Answer the question
In order to leave comments, you need to log in
If this is an online application, then nothing, but if it's a local application, then yes, just change the date
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question