created_at in another style

hello . I want see when a account is created. with the API I get this output :

2015-08-31T14:28:59Z

but I wanna have it like this :

31.08.2015

how do I do that ? :confused:

Programming languages usually have an easy way to do that. In C# it would be DateTime.Parse(createdAt).ToString("dd.MM.yyyy");

no , php :smiley:

$date_string = ā€˜2015-08-31T14:28:59Zā€™;
echo date(ā€˜d.m.Yā€™, strtotime($date_string));

thanks !

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.