Forum Moderators: coopster
print date("M. Y",strtotime($row[release]));
However, although the strtotime function accepts many different input formats I don't believe 20030922171658 is one of them, don't quote me on that, give it a try. I would advise you to first convert this to a valid input format for strtotime and then use the function above to output the format you require.
If your date string is always in this format you could write a simple function to break it up into an acceptable format such as, 2003-09-22 17:16:58.
Hope this helps.
Take a look at PHP mktime() function [php.net]. To get the parameters look at substr() function [php.net] to cut out the different parts. mktime() will then give you a unix timestamp. Do with that what you will...
daisho.