December 22, 2008 oslo

Parsing relative and absolute dates with MGrammar

Dilip Krishnan has built a lovely little date parser that supports absolute dates like 6/2/1969” (just like DateTime.Parse already supports today) and relative dates like today” or next Monday” or 5 days from today”. I find myself using relative date expressions like these all the time in Outlook and I’ve love to have them in every app I use that does dates. With Dilip’s parser and the Oslo SDK, you can add it to your app. Good work, Dilip!