Time format

Code Tip: Formatting the date with DateTime.ToString()

It can be difficult to format dates correctly, especially when formats vary between database, code and UI. Why not format your dates for the UI using the static DateTime.ToString(String) method in C#? 

Custom Date and Time Format Strings – Take control of your date formatting

Share this article:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Fleck
  • LinkedIn
  • Live
  • Netvibes
  • Print
  • StumbleUpon
  • Technorati
  • Tumblr
  • TwitThis
  • Yahoo! Buzz
  • BlinkList
  • blogmarks
  • De.lirio.us
  • DZone
  • feedmelinks
  • Furl
  • IndianPad
  • kick.ie
  • LinkaGoGo
  • Linkter
  • MisterWong
  • MySpace
  • Netvouz
  • NewsVine
  • Ping.fm
  • Reddit
  • scuttle
  • Slashdot
  • Socialogs
  • SphereIt
  • Spurl
  • Taggly
  • Webnews.de
  • Wists
  • YahooMyWeb

Tags: , , ,

Friday, April 3rd, 2009 Code Tips, NewArticle No Comments