views:

103

answers:

1

I am looking for a very robust datetime parser, similar to Ruby's Chronic, but for PHP. strtotime() isn't cutting it for a lot of the edge cases I'm seeing in my project.

Anyone know of any good libraries?

Ideally: - PHP 5 OOP - well documented - fast and stable

Thanks!

A: 

What are the actual edge cases you are missing? It is impossible to determine what will work with edge cases if you do not know what they are. Are these dates that people are putting in or dates that a machine is coming up with?

Daniel
humans provide them - I ended up not using strtotime() and instead using a date/time dropdown. Some edge cases were "tonight at 5pm", "next monday afternoon", etc.
Kyle