Tag Archives: Date

Change date format using .NET Regular Expressions

You can use Regex.Replace to change the format of a date string. For example if your input string is YYYY/MM/DD but you need to change it to YYYY-MM-DD, you can use this small method: Regular expressions are unreadable as usual, … Continue reading

Posted in .net, .NET Core, c#, General .NET | Tagged , , | 1 Comment

Allowing Google to sort your web pages by date

This article refers to the Google Search Appliance (GSA).  But since GSA and http://www.google.com is based on the same algorithms, it is very likely that it also applies to the general Google search as well. The Google Search Appliance allows you to … Continue reading

Posted in .net, General .NET, Sitecore 6 | Tagged , , , , , , , , | 2 Comments