Posted By

fugue on 12/29/06


Tagged


Versions (?)

ISO date to European format


 / Published in: PHP
 

  1. $row['datum'] = "2003-12-31";
  2.  
  3. setlocale (LC_ALL, 'nl_NL');
  4. echo strftime ("%d %B %Y", mktime(0, 0, 0, substr($row['datum'],5,2), substr($row['datum'],8,2), substr($row['datum'],0,4)));
  5.  
  6. // Returns 12 31 2003

Report this snippet  

You need to login to post a comment.