actually i have a number that is generated from a database.
like $clo_date = 20130405
what i need is to make that number as 2013-04-05

so how can i do it in php