COMMUNITY: How to properly ask a question on Forums
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
TECHNOLOGIES
ANSWERS
LEARN
NEWS
BLOGS
VIDEOS
INTERVIEW PREP
BOOKS
EVENTS
LIVE
CAREER
MEMBERS
JOBS
Training
About DateTime
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Scott Lysle (10)
Mahesh Chand (6)
Rohatash Kumar (6)
Mike Gold (5)
Rick Malek (3)
Sushila Patel (3)
Manas Mohapatra (2)
Vo Duc Thanh (2)
Shubham Srivastava (2)
Susan Abraham (2)
Hirendra Sisodiya (2)
Gaurav Gupta (2)
Vulpes (2)
Mostafa Belal (2)
Mokhtar B (2)
Tran Khanh Hien (2)
Suvendu Shekhar Giri (1)
Bharath Reddy (1)
Muhammad Aqib Shehzad (1)
Bryian Tan (1)
Surya Prakash Pandey (1)
Sandeep Mittal (1)
Sibeesh Venu (1)
Rakesh (1)
Mathieu Mack (1)
Emiliano Musso (1)
Afzaal Ahmad Zeeshan (1)
Sourabh Somani (1)
Hemant Srivastava (1)
Devesh Omar (1)
Biswa Pujarini Mohapatra (1)
Aman (1)
Ashish Singhal (1)
Gyanender Sharma (1)
Michael Livshitz (1)
Santhosh Kumar Jayaraman (1)
Richa Garg (1)
Vijay Prativadi (1)
Shuvro Pall (1)
Suthish Nair (1)
John Penn (1)
Ravish Sindhwani (1)
Amit Choudhary (1)
Puran Mehra (1)
Gohil Jayendrasinh (1)
Tin Lam (1)
Prasad (1)
Related resources for DateTime
No resource found
Difference Between MySQL DATETIME And TIMESTAMP DataTypes
11/29/2017 5:37:15 PM.
A simple question that may come to one's mind while working with MySQL is "Whether to assign DATETIME or TIMESTAMP datatype for a column as both seem to store the same data?”. Even though the
How To Use Bootstrap DateTime Picker In ASP.NET MVC With Angular As Directive
10/3/2017 5:31:10 PM.
We can create Bootstrap DateTime Picker in MVC easily but if we use normally like how we refer like normal asp.net mvc as we will face some problems that date picker wont works as expected in order to
Resolve 'String Was Not Recognized As A Valid DateTime' Error
7/26/2017 4:28:13 AM.
In this article there is an elaboration of the occurrence of 'string was not recognized as a valid DateTime' error and its fix.
Convert DateTime To String Format Using IQueryable
2/7/2017 12:08:52 AM.
In this article, you will learn how to convert DateTime to string (yyyy/mm/dd) format in ViewModel/Whatever class with IQueryable.
DateTime in C#
7/18/2016 3:01:37 PM.
In this article you will learn about DateTime object and its features in C#.
Create DateTimePicker Control In ASP.NET
7/15/2016 12:45:56 AM.
In this article, you will learn how to create DateTimePicker control in ASP.NET.
Adding Cultural Information To The DateTimePicker In Micro Focus Visual COBOL For .NET
1/13/2016 2:05:16 PM.
In this article you will learn how to add cultural information to the DateTimePicker in Micro Focus Visual COBOL for .NET.
Working with the DateTimePicker in Micro Focus Visual COBOL for .NET
1/7/2016 12:03:15 PM.
Working with the DateTimePicker in Micro Focus Visual COBOL for .NET.
String To DateTime Conversion In C#
12/25/2015 10:28:25 AM.
This article describes string to DateTime object in C#. It can accomplish through built-in methods Convert.ToDateTime(), DateTime.Parse(),DateTime.ParseExact(), DateTime.TryParse(), DateTime.TryParseExact().
New DateTime Function In SQL Server 2012
11/15/2015 4:52:07 AM.
In this article you will learn new DateTime Function in SQL Server 2012.
Working with DateTime in C#
10/12/2015 7:19:42 AM.
The DateTime structure represents dates and time in C# and .NET. This tutorial is all about dates and time and how to perform various operations on dates and times using DateTime.
SqlDateTime Overflow, Must be Between Error
8/25/2015 2:21:59 AM.
This article explains what to do about a SqlDateTime Overflow Issue.
DateTime Method Using ASP.Net C#
6/29/2015 1:56:36 AM.
In this article we will see Date and Time using ASP.Net C#.
UI For ASP.Net MVC - DateTimePicker
6/23/2015 3:47:37 PM.
This article shows how to add a property on the Telerik UI ASP.NET MVC DateTimePicker to show a calendar on input focus / click.
Examples Of DATE/DATETIME Conversion
5/15/2015 4:54:09 PM.
Basic considerations and examples of DATETIME, DATE and TIME data types.
Overview of DateTime in ASP.NET
2/14/2015 10:54:06 AM.
This article provides an overview of the DateTime class and its use in ASP.NET Websites and Web Applications.
Most Commonly Used DateTime Function in SQL Server
2/8/2015 11:39:07 PM.
This article describes about date and time functions of SQL Server which is most commonly used.
Embedding Calendar (DateTimePicker) Control Into DataGridView Cell
10/20/2014 10:02:50 AM.
This article shows how to embed a Calendar (DataTimePicker) Control into a cell of a DataGridView Winform control.
Datetime Control Using jQuery
6/19/2014 4:51:09 PM.
In this article we will learn how to create a datetimepicker using the jQuery API.
DateTime Functions in SQL Server 2012
3/18/2014 11:58:58 AM.
This article describes all the new DateTime functions introduced in SQL Server 2012 with examples.
Implementing DateTime Class in Windows Phone Application Using C#
3/12/2014 2:58:20 PM.
This is a very small article in which we will implement the DateTime Class in Windows Phone Applications using C#.
How to Insert a Date Into DateTime Column Using ADO.NET & C#
1/16/2014 12:39:24 PM.
In this article, we will show how to insert a date into a date column using ADO.NET and C#.
Working With HTML5 Form Input Tags
9/4/2013 7:15:06 PM.
In this article, you learn about HTML5 Form Input Tags.
Handling DateTime Data Type in C# : Part 2
5/16/2013 12:38:14 PM.
This article explores ways to support strong date and time data formats. With the .NET Framework you do not need to spend time building a class for storing and processing time. Instead we can use the immensely powerful built-in library that supports nearly all calculations that will save you so much time.
Handling DateTime Data Type in C# : Part 1
4/27/2013 4:21:00 PM.
In this article we will learn about the date objects in C#.
Getting Date and Time Values From Their Parts in SQL Server 2012
4/19/2013 1:44:39 PM.
This article explains the functions DATEFROMPARTS, TIMEFROMPARTS, DATETIMEFROMPARTS in SQL Server that getting date and time values from their parts.
Modifying Date and Time Values in SQL Server
4/17/2013 2:32:06 PM.
In this article, I would like to show the functions DATEADD, EMONTH, TODATETIMEOFFSET in SQL Server.
Getting Date and Time Parts From DateTime in SQL Server
4/15/2013 2:56:10 PM.
In this article, I would like to show the functions Datepart, DateName, Year, Month and Day in SQL Server.
Working With Date and Time in SQL Server and C#
4/11/2013 3:29:24 PM.
In this article, I would like to show the similarity of SQL Getdate function and the C# DateTime class.
Cannot perform '>' operation on System.DateTime and System.Double
3/1/2013 12:04:19 PM.
I get error "Cannot perform '>' operation on System.DateTime and System.Double" when applying a filter on DataView.
Age Finder Windows Store App
1/7/2013 8:55:18 AM.
To day article we will create a application in Windows store in C# to find out the age of user to put the date of Birth as a input.
Getting Difference of Two Dates in Windows Store App
1/7/2013 8:45:08 AM.
Today we will create an application in a windows store to determine the difference between two dates in hours.
DATEADD Function in SQL Server 2012
12/13/2012 3:24:23 PM.
In this article, I would like to show the Dateadd Function in SQL Server.
Finding the first and last day of the month in VB.NET
12/1/2012 2:03:10 AM.
This article describe an approach to find out the first and last day of the month based upon either a selected date or selected month.
Custom Calendar Control in VB.NET
11/10/2012 2:03:37 AM.
The Custom Calendar Control described in this paper overcomes the above limitations of the DateTimePicker by enhancing the capabilities of the existing MonthCalendar Control provided by Visual Studio .Net.
Add and subtract functionalities in DateTime and VB.NET
11/10/2012 1:02:26 AM.
Easy Date Validation in Visual Basic
11/10/2012 12:50:40 AM.
This article describes a simple approach to validating dates received as strings.
Determine the Time Since the Last Boot Up in Visual Basic
11/9/2012 6:39:08 AM.
This article describes an approach used to determine the time of the last system boot up and to display the time elapsed since boot up.
Assessing Dates of Birth using Visual Basic
11/9/2012 6:31:39 AM.
This article describes an approach to assessing the difference between a specified beginning and end date.
Telerik RadHubTile in Windows Store Apps Using XAML
10/28/2012 1:20:16 PM.
In this article we are going to learn about Telerik Rad Controls in XAML.
DateTime in C#
10/13/2012 4:25:27 AM.
In this article we perform various operations on dates and times using DateTime.
Telerik Rad DateTime Picker in Windows Store Apps Using C#
10/4/2012 10:55:30 PM.
In this article we are going to learn about Telerik Rad Controls in XAML.
Working with the ObjectDataSource and DateTime Type
10/4/2012 9:29:23 AM.
This tip will help you to work with the ObjectDataSource, when at least one of the properties of your business object (BO) is type of the DateTime .
Custom Calendar Control
9/30/2012 4:38:07 AM.
The Custom Calendar Control described in this article overcomes the limitations of the DateTimePicker by enhancing the capabilities of the existing MonthCalendar Control available in Visual Studio .NET.
New Built in Functions in SQL Server 2012 : DateTime Functions
9/29/2012 9:55:19 AM.
In this article, let us see how to use the 7 new builtin DateTime functions of Microsoft SQL Server 2012 Release Candidate 0 with their syntax and sample queries.
WPF DateTimePicker
9/29/2012 6:11:59 AM.
This article demonstrates how to use a DateTimePicker control in WPF with the help of XAML and C#.
Formatting In Date and Time Using Windows Store Apps
9/21/2012 11:30:18 PM.
In this article I will explain how to perform formatting in date and time using the Windows Store apps.
Date and Time Field in SharePoint 2010 Programmatically Using VS 2010
7/2/2012 2:29:18 AM.
Today, in this article let’s play around with one of the interesting and most useful concepts in SharePoint 2010.
Digital Clock in C#
6/10/2012 8:36:14 PM.
In this article I am going to explain creation of a digital clock in C#.
Get difference between two dates in C#
5/15/2012 7:23:39 PM.
This code snippet shows how to get difference between two dates in C#.
Working with the DateTimePicker in Micro Focus Visual COBOL
2/10/2012 4:39:04 PM.
This article is about the DateTimePicker control. Our examples will focus on a single control. We’ll show you how to manipulate the properties of that control programmatically. We may have to include one additional control but the focus on each project will be on a single control with a supporting role for the additional control.
How to add Ribbon in a Word
12/20/2011 3:06:07 AM.
In this article we will learn how to customize the ribbon in a Word application.
WPF DateTimeUpDown Control
11/10/2011 2:17:59 PM.
A DateTimeUpDown control allows us to increment or decrement the value of a DateTime using up/down keys, button spinner or the mouse wheel. The increment or decrement value depends on the current value and format of the control.
Extending the DateTime structure in C#: Part II
4/14/2011 4:38:22 AM.
Extending the DateTime structure: Part I
4/13/2011 12:31:02 AM.
This article presents some "extension" methods which I hope will be useful for those developers who, like myself, work a lot with dates.
Date and Time Functions in SQL Server 2008
3/15/2011 6:45:53 PM.
This article will list Date and Time functions shipped with SQL Server 2008.
Finding the First and Last Day Of A Month in C#
3/10/2011 7:49:56 PM.
A code snippet that shows a quick way to calculate the first and last days of any month.
C# DateTimePicker Control
2/22/2011 1:22:34 AM.
A DateTimePicker control allows users to select a date and time in Windows Forms applications. In this tutorial, we will see how to create a DateTimePicker control at design-time as well as at run-time, set its properties and call its methods.
An Assignable DateTime Class in C#
1/28/2011 10:26:35 AM.
Occasionally you run into a structure in the .NET library that you really wish was a class so you can inherit all its existing properties, override the ones you don’t like, and add new properties and methods.
How to use Sharepoint default Datetimecontrol picker for custom application built in VS for Sharepoint 2007
7/7/2010 1:26:04 AM.
In this article we will see that how to use sharepoint default datetimecontrol picker in custom webparts.
Setting your website DateTime according to Time Zone Offset of the client
5/5/2010 12:09:49 AM.
We have seen situations where we have to use the GMT time and get the time zone of client to show every user his own Date Time. In this article we will see how to implement this.
Conversion Classes & CultureInfo Class in C#
2/3/2010 10:46:16 PM.
In this article I will explain you about the Conversion Classes & CultureInfo Class in C#.
GridView using LINQ and Convert datetime to shortdate in LINQ.
12/30/2009 12:49:11 PM.
In this article you will learn how to create a hyperlink in GridView using LINQ and Convert datetime to shortdate in LINQ.
Find the First and Last Days of the Month with C#
5/6/2009 6:43:05 AM.
This article shall describe a very simple approach to finding out the first and last day of the month based upon either a selected date or selected month.
Find the First and Last Days of the Month with C#
5/6/2009 6:43:05 AM.
This article shall describe a very simple approach to finding out the first and last day of the month based upon either a selected date or selected month.
Easy Date Validation in C#
2/24/2009 2:17:31 AM.
This article describes a simple approach to validating dates received as strings (e.g., 2/21/2008).
Easy Date Validation in C#
2/24/2009 2:17:31 AM.
This article describes a simple approach to validating dates received as strings (e.g., 2/21/2008).
Assessing Dates of Birth Using C#
8/20/2008 8:04:50 AM.
This article describes an approach to assessing the difference between a specified beginning and end date. The example was written in the context of comparing a birth date to a specific end date but the same approach could be used to calculate the number of years, months, and days between a specified start and end date.
Determine the Time since the Last Boot Up in C#
6/6/2008 1:11:06 AM.
This article describes an approach used to determine the time of the last system boot up and to display the time elapsed since boot up.
System Date Time Check Format
10/18/2006 12:26:12 AM.
This program executes the system date time format. Is it in dd/mmm/yyyy or other format and the which cultuerInfo is the system running on.
System Date Time Check Format
10/18/2006 12:26:12 AM.
This program executes the system date time format. Is it in dd/mmm/yyyy or other format and the which cultuerInfo is the system running on.
Enter Null Values for DateTime Column of SQL Server
8/31/2006 9:40:32 AM.
Inserting a null value to the DateTime Field in SQL Server is one of the most common issues giving various errors. Even if one enters null values the value in the database is some default value as 1/1/1900 12:00:00 AM.
Yahtzee Program using C#
2/2/2006 4:53:17 AM.
The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
Yahtzee Program using C#
2/2/2006 4:53:17 AM.
The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
Time Ticker
2/2/2006 4:14:19 AM.
Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
Time Ticker
2/2/2006 4:14:19 AM.
Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
Multi-threaded Web Applications - Case I: Search Engine
1/31/2006 4:24:41 AM.
This article is the first of the series of 4. I will demonstrate the use of threading in web applications by implementing a simply search engine. The following 3 articles in the series will be a Port Scanner, a Reverse DNS and a Web Hammer respectively.
Reminder Program
1/19/2006 3:52:20 AM.
The program allows you to set a running timer to remind you of an upcoming event.
Reminder Program
1/19/2006 3:52:20 AM.
The program allows you to set a running timer to remind you of an upcoming event.
A Scheduled Application Launcher Service in C# and .NET
1/16/2006 6:56:34 AM.
This an article is on launching scheduled tasks. Not quite as exciting as launching a spaceship into outer space, but…hey, even astronauts have to automate some of their day to day activities.
Format DateTime Values in XML Extracted From DataSet
1/4/2006 7:18:51 AM.
In this article we'll see how to specify the format of DateTime values extracted from the ADO.NET DataSet and to verify we will write formatted contents in xml file.
Printing Invoices using C# and .NET
1/4/2006 6:52:12 AM.
This program can stand improvements but it will get you started in creating an invoice and printing it to the printer.
Formatting ASP.NET DataGrid's Data
1/3/2006 11:50:38 PM.
This article shows you how to change the color of a DataGrid row and format of date.
Calendar Using DateTime Class
12/29/2005 7:41:09 AM.
The console based calendar program is a which when run shows current month's calendar using the C# Date Time Class.