use cliver
DateTime dt=new DateTime
if (!Cliver.DateTimeRoutines.TryParseDate('your text', Cliver.DateTimeRoutines.DateTimeFormat.UK_DATE, out dt))
{
//show message
}
More Related Contents:
- Days between two dates in asp.net
- Convert DateTime to Date string “dd/mm/yyyy”
- How do I calculate someone’s age based on a DateTime type birthday?
- C# DateTime.Now precision
- format date in c#
- Converting dd/mm/yyyy formatted string to Datetime [duplicate]
- What does “DateTime?” mean in C#?
- Environment.TickCount vs DateTime.Now
- How do I convert an ISO8601 TimeSpan to a C# TimeSpan?
- Why DateTime.AddHours doesn’t seem to work?
- How to convert Javascript datetime to C# datetime?
- How to find the 3rd Friday in a month with C#?
- Globally convert UTC DateTimes to user specified local DateTimes
- Using DateTime in a SqlParameter for Stored Procedure, format error
- How can I format a nullable DateTime with ToString()?
- What’s a good way to overwrite DateTime.Now during testing?
- why does DateTime.ToString(“dd/MM/yyyy”) give me dd-MM-yyyy?
- DateTime and CultureInfo
- How to ensure a timestamp is always unique?
- datetime to string with time zone
- Random date in C#
- How frequent is DateTime.Now updated ? or is there a more precise API to get the current time?
- Parse a string containing date and time in a custom format
- Days, hours, minutes, seconds between two dates
- How to convert datetime string in format MMMdyyyyhhmmtt to datetime object?
- Add hours or minutes to the current time
- .NET: Why is TryParseExact failing on Hmm and Hmmss?
- Convert string to datetime Using C#
- Formatting DateTime in ASP.NET Core 3.0 using System.Text.Json
- How can I parse dates with a suffix “th”, “st” or “nd” on the day of the month?