Date Function

Validate Date using C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program that validates an inputted date using C#, thus this will determine if a date is invalid or not. Here, we will use the IsDate Function. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Valid or Invalid Date. 2.

Valid or Invalid Date in VB.NET

Submitted by donbermoy on
Hi! In this tutorial, we will make a program that decides if a date is invalid or not. The main function that we will just going to use is the IsDate Function. This function checks if the given expression is a valid date and returns a boolean true or false. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.