Jul31

Difference between two Dates

Categories: ASP.NET C#
Here’s some useful code if you need to know how much time has elapsed between two days.         DateTime oldDate = new DateTime(2005, 7, 31);         DateTime newDate = DateTime.Now;           // Difference in days, hours, and minutes.         Time...
 
Jul18

Regular Expression Library

Categories: ASP.NET C#
Regular Expressions.  Joy oh Joy.  Here’s a great site to help ease the pain in writing one: Regular Expression Library.  They have over a thousand indexed expressions and it even has an online tool to help you test expressions: http://www.regexlib....