This is very old news, but I think it still generates a lot of questions and searching from ColdFusion developers. There is no literal IsTime() or IsTimeFormat() function in ColdFusion in order to check whether or not a value is formatted properly as a time.
When a developer needs this functionality, they will often search Google, etc. and come across various forum posts that suggest Regular Expression solutions, etc. Well, there is actually no need for all of that. The built-in ColdFusion function IsDate() will also check times for you!
Test it for yourself!
There are no comments for this entry.
[Add Comment]