Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php datum formatieren

<?php
$originalDate = "2020-04-29";
//original date is in format YYYY-mm-dd
$timestamp = strtotime($originalDate); 
$newDate = date("m-d-Y", $timestamp );
echo "The new date is $newDate.";
?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #php #datum #formatieren
ADD COMMENT
Topic
Name
5+6 =