Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 21st, 2018
72
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
<?php
$sDate
=
'01-01-2012'
;
$sFormat
=
'dd-MM-yyyy'
;
$oDate
=
new
Zend_Date
(
strtotime
(
$sDate
)
,
null
,
'en_EN'
)
;
return
$oDate
->
toString
(
$sFormat
,
$sDate
)
;
// Output 2010-01-01
?>
Add Comment
Please,
Sign In
to add comment
Public Pastes
Toilet Tower Defense | Askar Script
Lua | 20 min ago | 0.10 KB
Untitled
C++ | 24 min ago | 1.08 KB
News April26 24
Email | 27 min ago | 91.34 KB
Untitled
Lisp | 35 min ago | 0.88 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 48 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 55 min ago | 0.39 KB
Projects
HTML | 1 hour ago | 3.87 KB
[db error] mainwindow.cpp
C++ | 1 hour ago | 0.57 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!