seventheyejosh Posted July 6, 2009 Share Posted July 6, 2009 well using str to time, u can make the string a timestamp, no matter what it is saved as, then reformat it at will. look close at what i did there. i parsed the string for the time, changed it to a valid strtotime format ( no _ , / instead) then used strtotime to get a unix timestamp, finally passing it to date() as the time param. So u can make it say may 1 or 05 / 01 or 03:03pm etc etc. go crazy.. its date()!!! 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.