C#
  Home arrow C# arrow Page 4 - Working with Dates and Times in C#
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C#

Working with Dates and Times in C#
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2008-12-30

    Table of Contents:
  • Working with Dates and Times in C#
  • Brief Overview
  • Putting DateTime into Action
  • Final Words

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Working with Dates and Times in C# - Final Words


    (Page 4 of 4 )

    We have arrived to the end of this tutorial. Hopefully by now you've acquired the necessary know-how to fully comprehend the MSDN documentation when the situation asks for it, and to figure out your way around when the scenario seems tough. The purpose of this article was to give you a brief overview of the possibilities that are built into the .NET Framework to aid us with our date/time related routine tasks.

    Moreover, as mentioned earlier, you must understand that we cannot include each and every method, property, and operator that is part of the DateTime structure. It's up to you to head over to the official MSDN documentation and learn how to use them. However, this article definitely had given you a sense of what to expect and how to implement the rest of the "leftover" properties and methods. Practice, practice... code!

    The road that leads to computer programming excellent simply never ends. The best way to learn and acquire lots of new knowledge and experience is by researching, experimenting, and studying as you go. When you face a seemingly tough problem, and you do your best to find either a solution or a workaround, then you have surely learned that specific "technique" for an entire lifetime. So just never give up...

    Finally, I'd like to invite you to join our ever-growing and friendly community of tech professionals at Dev Hardware Forums. We focus on all areas of IT&C starting from hardware, software, up to consumer electronics and around-the-clock IT news. You might also want to check out the forums of our sister site at Dev Shed covering programming-related topics as well as ASP Free which focuses on Microsoft content.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Thank you for reading this article. In this part I've shown you how to work with...
       · The information was useful but when i put your code in my main method, I got errors....
     

    C# ARTICLES

    - Coding a CRC-Generating Algorithm in C
    - Cyclic Redundancy Check
    - Handling Methods and Functions
    - Destroying Objects in C#
    - Creating Objects in C-Sharp
    - Classes and Objects
    - Programming Languages: Managed versus Native
    - LINQ-to-MySQL with DbLinq in C#
    - Working with Dates and Times in C#
    - Generics, Dictionaries, and More
    - More About Generics
    - Working with C# Collections
    - Generics
    - C# and XML
    - Pointers and Arrays in C#





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek