shortysbest Posted November 27, 2010 Share Posted November 27, 2010 right now i have my date system to say "X amount of seconds ago, X hours ago, X days ago, X years ago, How could i turn mktime() (1290874161) into a mm/dd/yyyy format? so it would say like, "Nov 27, 2010 at Hour:Minute" (whatever the hour/minute is) Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted November 27, 2010 Share Posted November 27, 2010 You don't need mktime to do that. echo date('M d, Y \a\t H:i:s a', 1290874161); Quote Link to comment Share on other sites More sharing options...
shortysbest Posted November 27, 2010 Author Share Posted November 27, 2010 oh thats it, thanks. 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.