Asking for a hint. Code coach: Day of the week. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Asking for a hint. Code coach: Day of the week.

I don't know how I should Check which day we had multiply years ago

28th Jun 2022, 11:58 AM
Felix Alcor
Felix Alcor - avatar
6 Réponses
+ 4
You are at the beginning of c# course. Another way to solve something in this stuation is to read c# documentation for example here: https://docs.microsoft.com/en-us/dotnet/api/system.dayofweek?view=net-6.0
28th Jun 2022, 5:33 PM
JaScript
JaScript - avatar
+ 3
Please tag language, and post your code attempt. If we just post you solution, you will never learn, it us much better to post your code attempt, even if this code is really bad, we can then see where you make mistake and help you solve your problem, and you will never make this mistake again.
28th Jun 2022, 1:24 PM
PanicS
PanicS - avatar
+ 2
That with the language is my fault for Not tagging. I made that question because I have No idea with which Methode I should Check the week days of the past, so I don't have Code yet or rather Not any Code with which I could so that. I meant that I look for a Methode to use in such cases. I don't want a solute but only a Methode to use.
28th Jun 2022, 2:05 PM
Felix Alcor
Felix Alcor - avatar
+ 2
That's what I meant with the Message before. I didn't know for what to search at First so I tried asking but after going to Docs I found some, tho I First should read about enum.
28th Jun 2022, 6:02 PM
Felix Alcor
Felix Alcor - avatar
+ 1
Do you have an attempt, even if it's just pseudocode?
28th Jun 2022, 12:12 PM
Justice
Justice - avatar
+ 1
Okay I now find that I could so that with using Datetime and then Day of the week. I just don't know them and that's why I asked.
28th Jun 2022, 2:23 PM
Felix Alcor
Felix Alcor - avatar