Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Rajeev Datta

Member since Dec 11, 2008

Recent Blog Comments By Rajeev Datta

  • Getting Only the Date Part of a Date/Time Stamp in SQL Server

    Posted on Aug 15, 2006 at 12:06 PM

    Mehdi in VB.NET you can try following:- 1. DateTime.Today 2. DateTime.Date The above will return a DateTime object withe value set to the today's date and time part set to 00:00:00. BUT if you need to display without the the time part then use:- DateTime.Today.ToString("yyyy/MM/dd") or DateTime.Da... read more »