Skip to content

Instantly share code, notes, and snippets.

@Zoramite
Created February 19, 2011 17:25
Show Gist options
  • Save Zoramite/835202 to your computer and use it in GitHub Desktop.
Save Zoramite/835202 to your computer and use it in GitHub Desktop.
Testing the isDate() with zip codes that have a +4 code with preceding zeros
<cfdump var="#isDate('12345-0001')#" label="Is Date? 12345-0001" />
<cfdump var="#isDate('12345-0010')#" label="Is Date? 12345-0010" />
<cfdump var="#isDate('12345-0100')#" label="Is Date? 12345-0100" />
<cfdump var="#isDate('12345-1000')#" label="Is Date? 12345-1000" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment