how to convert time(mktime) to date(mm/dd/yyyy) in php?
ok i have a birthday form that will save as time using mktime, so when it is saved in mysql, it will show something like 634608000.. how can i convert it开发者_如何学C to mm/dd/yyyy format so that when it is displayed in html it will be readable..?
All you need is this:
date('m/d/Y',$time)
精彩评论