Basit Nisar

Basit Nisar

  • 1.7k
  • 84
  • 11k

asp.net date validations

Apr 12 2023 9:21 AM

validation code snippet : for StateFarmids and Othertimecardids

foreach (var Item in lstTimeCards)

                {
                    
                    DateTime _LastModifiedDateTC = Global.GetTimecardLastModifiedDate(Item.TimeCardID, (int)InvoiceSourceTypes.PerHour ).GetValueOrDefault();
                    if (Item.LastModifiedDate == _LastModifiedDateTC && IsDateNotMatched == false)


Answers (2)