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 ?
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 ?
Programming languages usually have an easy way to do that. In C# it would be DateTime.Parse(createdAt).ToString("dd.MM.yyyy");
no , php
$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.