/* */

Validate Date time in asp.net

Ho wto check if date is equal to default date or null.


if (dateTimeVariable == default(DateTime))
{
    //do work for dateTimeVariable == null situation
}
Previous
Next Post »
Thanks for your comment