Nice date formating


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. echo ($ts_now = date('y-m-d__h:i:s') /* outout format 2008-04-04 07:30:00*/);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.