473,672 Members | 2,953 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

4 New Member
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
4 2603
tlhintoq
3,525 Recognized Expert Specialist
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
MartyAdams
2 New Member
You can use this....

http://msdn.microsoft.com/en-us/library/az4se3k1.aspx
Apr 3 '10 #3
CroCrew
564 Recognized Expert Contributor
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
2011
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
1707
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
1169
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 take advantage of debuging and all the nice things that one can hope for when writing complex code. Going through vb.net studio setup I was not able to get all the features working and take advantage of intellisense (or code completion) without...
0
1973
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
1976
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. Sometimes I will end up with as many as 30,000 of them. I have to do a "Replace" which is slower than I'd like. This is slowing down my work a lot. This might be related to a commercial control I'm using, or it may just be VS.NET's indentation getting...
4
1182
by: =?Utf-8?B?dGhlamFtaWU=?= | last post by:
Can NET 2008 run side by side with NET 2005? -- Regards, Jamie
1
1381
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
2713
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 local URL that VS.NET 2008 generates is http://localhost:49705/aaa/Default.aspx. In IIS7 Manager, ASP.NET V2.0… is "Allowed" in the ISAPI and CGI Restrictions. Also IIS7 is working and display ASP.NET web sites if I convert them to IIS7...
1
2157
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 made in my application setting ot properties. Is there any code i have to write into application?. I have too run my application on German and Chines Language and now i am developing my application in English. Please help me
3
975
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 behind the seens it modified the img tag width in my css file. Also, when dealing in split view with a page that is using a master page, it seems slow and getting the properties to show up is a task.
0
8498
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8940
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8694
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7457
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6249
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5718
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4433
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2083
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1831
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.