fikiwan Posted June 17, 2013 Share Posted June 17, 2013 Hey ... I want display datetime from DB... EX : 2013-06-10 12:10:5 I want display only year = 2013 MONT = 06 day = 10 how to do like above display the part from datetime. thanks regards Link to comment Share on other sites More sharing options...
niche Posted June 17, 2013 Share Posted June 17, 2013 (edited) This would work: http://www.php.net/m....date-parse.php Edited June 17, 2013 by niche Link to comment Share on other sites More sharing options...
fikiwan Posted June 17, 2013 Author Share Posted June 17, 2013 thanks alot ..... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now