Guest User

Untitled

a guest
Feb 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. <?php
  2. $sDate = '01-01-2012';
  3. $sFormat = 'dd-MM-yyyy';
  4.  
  5. $oDate = new Zend_Date(strtotime($sDate), null, 'en_EN');
  6. return $oDate->toString($format, $sDate);
  7. ?>
Add Comment
Please, Sign In to add comment