Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

php now() function

$
0
0
i am storing datetime in database by using php function now().

the problem is that when i get the date from database i get '2012-2-3-1:23:10'.

and i just want to get (m/d/year) only

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>