Using PHP I have data feed fed in to an array: $index->indexDate this gives me a European style 8 digit date (There is no time just the 8 digit date).
For example: The value 28112012 should result in 28-11-2012 or 28/12/2012. I have tried several methods but I am not sure how I should be doing this, I keep ending up with a 1970 date.
How about using
substring? linkUse
-or/.