Danny620 Posted December 14, 2010 Share Posted December 14, 2010 check date is in format of Y-m-d Quote Link to comment Share on other sites More sharing options...
Zurev Posted December 14, 2010 Share Posted December 14, 2010 Use preg match with something like: \d{4}[- /.]\d{1,2}[- /.]\d{1,2} Though I'm unsure if the regex is exactly like that, messing around with http://gskinner.com/RegExr/ can help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.