If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Try this:
1 Declare a variable like so:
var currentTime = DateTime.Now; // Displays current time 2 Now call this statement in your console App: Console.WriteLine("The current date and time: {0:dd-MMM-yyyy H:mm:ss zzz}", currentTime); 3) Get a result and post it here!! 4 Use C# in VS2010 onwards. I tested in VS2017. Hope this proves useful!! June 8th, 2017 is a big decisive day for us here in United Kingdom. Once and for all we can tell Merkel and Junker to f*ck off. -- If you want to filter all of my posts then please read this article: https://support.mozilla.org/en-US/kb/organize-your-messages-using-filters In step 7 select "Delete" With over 500 million devices now running Windows 10, customer satisfaction is higher than any previous version of windows. |
Ads |
Thread Tools | |
Display Modes | Rate This Thread |
|
|