I get php output function from another function and it always returns date in this-like format:
2012-05-24 09:05:20
So my question is how can i get from variable $p_re[“last_login”] format I need? I need to have it like
24.5.2012 09:05:20
Thank you all I did not find it in any section there are some – changing right from database but i need to “rewrite” format from already output variable. Thank you.
Try This code just before displaying date on page
More info
‘d.m.Y’ will return 24.05.2012
‘d.n.Y’ will return 24.5.2012