Use
strtotime function and then
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
and then
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
easonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$season and then
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
p;amp;lt;?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstarthp
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart.&qp.net/strtotime]strtotime[/url] function and then
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
trtotime[/url] function and then
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
05-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
nend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
ttp://php.net/date]date[/url].
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
0:00:00'));
echo $seasonstart." - ".$seasonend;
?>
.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y'p.net/strtotime]strtotime[/url] function and then [url=http://php.net/date]date[/url].
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
ime[/url] function and then
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart."e; - ".$seasonend;
?>
rl] function and then
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
nend;
?>
date.
Code: Select all
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>
<?php
$seasonstart = date('d-m-Y', strtotime('2005-02-13 00:00:00'));
$seasonend = date('d-m-Y', strtotime('2005-06-04 00:00:00'));
echo $seasonstart." - ".$seasonend;
?>