473,396 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to calulate only system date in asp.net(visual studio 2008)

I want to get only the current date and not time in asp.net( visual studio 2008).
But in 2008 we have the properties associated with time like System.DateTime.
How to calulate only system date.......?
please reply soon...
Apr 3 '10 #1

✓ answered by tlhintoq

Just take the date part out of the datetime object.
If you have both data and time, then you have the date.

4 2583
tlhintoq
3,525 Expert 2GB
Just take the date part out of the datetime object.
If you have both data and time, then you have the date.
Apr 3 '10 #2
CroCrew
564 Expert 512MB
To get the current date just use:

System.DateTime.Today

Happy Coding,
CroCrew~
Apr 3 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Heros | last post by:
I had losed my serial key for .net Visual Studio Professional, trial version, and need urgent to use it to install .net Visual Basic. Please, its urgent. Thanks.
1
by: Heros | last post by:
I had losed my serial key for .net Visual Studio Professional, DVD ROM with the trial version, 60 days, and need urgent to use it to install .net Visual Basic. Please, its urgent. Thanks.
4
by: News | last post by:
Hi, I am new to vb.Net and need some info on vb.net studio. I write code for webpages and upload to the server. The ISP does not let us to connect neither to the web or db server directly and...
0
by: sector20 | last post by:
Hi, Please help!! I want to create a Windows Service application using VC++ .Net (Visual Studio 2003) using ATL COM. Thanks Amit
11
by: Ken Fine | last post by:
I am using VS.NET 2008 and like it a lot. One of the very few things I don't like is a bug that seems to spawn literally thousands of   strings, one after the other, on design view changes....
4
by: =?Utf-8?B?dGhlamFtaWU=?= | last post by:
Can NET 2008 run side by side with NET 2005? -- Regards, Jamie
1
by: kunalvumca200519 | last post by:
I would like to know about wcx, wpx, wax in vb.net 2008 and what is XAML? Please reply me...
11
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hello, I have just installed VISTA Enterprise and VS.NET 2008. When pressing F5 to debug my test ASP.NET website, IE 7 display the message "Internet Explorer cannot display the webpage". The...
1
by: Abhijit D. Babar | last post by:
I have to create a multilingual application in Visual c++ .net 2008. I have a Windows form application and i want to run this on multilingual support. So how can i do this. Which change i have...
3
by: Cirene | last post by:
It seems like the VS.net 2008 editor is slow and buggy. Have you found this to be the case? A few times I am working and all of a sudden all my images are stretched funny. I find out that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.