Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a natural language parser for dates/times in ColdFusion?

Is there a natural language parser for date/times in ColdFusion?

like image 940
antony.trupe Avatar asked Jun 16 '09 18:06

antony.trupe


2 Answers

There's a (reportedly -- I've not used it) good one for Java called JChronic -- a port of the Ruby Chronic date parser. You could try using it.

It hasn't been updated since 2006, but should still be useful.

like image 135
Ben Doom Avatar answered Sep 29 '22 07:09

Ben Doom


I believe parseDateTime() and lsParseDateTime() are the closest to what you're looking for, from the library of built-in ColdFusion functions.

Check out Adobe's LiveDocs for other date/time functions.

Remember that you can also leverage any Java date/time class as well. Pete Freitag has an interesting post with some example code.

like image 42
Jamie Krug Avatar answered Sep 29 '22 09:09

Jamie Krug