- 3

C#

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Please if you have tried this code and the time is 1 hour less let me know in the comment section. //Merry Christmas! namespace SoloLearn { class Program { static void Main(string[] args) { Console.WriteLine(DateTime.Now); } } }

16th Jan 2022, 10:06 AM
Technical MK
Technical MK - avatar
1 Answer
0
Technical MK The time that it prints will be according the time where the Sololearn server is located. The program runs on their server, not your local machine.
16th Jan 2022, 3:30 PM
Brian
Brian - avatar