Last post Feb 27, 2009 10:15 AM by rumbafum
Feb 15, 2008 07:40 PM|tkota|LINK
of GetCurrentDateTime(). The format I will need is 2/15/2008 1:38 PM. Any help is appreciated. Thanks!
Feb 15, 2008 07:47 PMemail@example.com|LINK
Feb 25, 2009 03:26 PM|kevinpiper|LINK
Hello to everyone
I am building a website using asp/C# and want to have the current date to be displayed not the time.How to do that?
thanx in advance
Feb 25, 2009 04:21 PM|rumbafum|LINK
Feb 27, 2009 09:32 AM|kevinpiper|LINK
I am using asp.net/c# and it would be better if you provide me with a complete code because m very new to these programming languages.
Once more I would like to say that I want only date to be displayed not time.
Thanx in advance
Feb 27, 2009 10:15 AM|rumbafum|LINK
I guess you're talking about c# and code-behind then.
You can use DateTime class:
DateTime.Today.ToString("dd/MM/yyyy"); This will give you "27/02/2009"...