jwwceo Posted December 20, 2007 Share Posted December 20, 2007 I have an expiration date field in a db that only needs the last 2 numbers of they year. like 07. How would I extract this from '2007'?? James Quote Link to comment Share on other sites More sharing options...
Jessica Posted December 20, 2007 Share Posted December 20, 2007 substr Quote Link to comment Share on other sites More sharing options...
teng84 Posted December 20, 2007 Share Posted December 20, 2007 mysql date_format() might 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.