Support & Downloads

Quisque actraqum nunc no dolor sit ametaugue dolor. Lorem ipsum dolor sit amet, consyect etur adipiscing elit.

s f

Contact Info
198 West 21th Street, Suite 721
New York, NY 10010
youremail@yourdomain.com
+88 (0) 101 0000 000
Follow Us

Time

[php]
<?php
// First date is today
$dateOne = new DateTime();

// Second date is some date
$dateTwo = new DateTime('14-10-1963');

echo 'Date one before change: ' . $dateOne->format('Y-m-d H:i:s');
echo '<br/>';
echo 'Date two: ' . $dateTwo->format('Y-m-d H:i:s');

// Now modify the date of variable $dateOne with the date of $dateTwo
$dateOne->modify($dateTwo->format('Y-m-d'));
       
echo '<br/>';
echo 'Date one after change: ' . $dateOne->format('Y-m-d H:i:s');
?>
[/php]

[php]
<?php
private function get_time_tags() {
$time = get_the_time('d M, Y');
return $time;
}
?>
[/php]

Post a Comment