File: fwphp/glomodul/z_examples/book_video/gallery_powers/date_format.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/z_examples/book_video/gallery_powers/date_format.php  >  Download  
File: fwphp/glomodul/z_examples/book_video/gallery_powers/date_format.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change:
Date: 1 month ago
Size: 243 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>DateTime::createFromFormat</title>
</head>

<body>
<?php
$xmas2019
= DateTime::createFromFormat('d/m/Y', '25/12/2019');
echo
$xmas2019->format('l, jS F Y');
?>
</body>
</html>

For more information send a message to info at phpclasses dot org.