A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Try this:



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old April 18th 17, 08:41 PM posted to alt.comp.os.windows-10
Good Guy[_2_]
external usenet poster
 
Posts: 3,354
Default 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
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 02:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.