Guest User

Untitled

a guest
May 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. <?php
  2. $date="26-05-2018";
  3. $result=date("d-m-Y",strtotime($date));
  4. echo (gettype($result));//string
  5. ?>
Add Comment
Please, Sign In to add comment