Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

change date format php

$currDate = "2020-08-25";
$changeDate = date("d-m-Y", strtotime($currDate));
echo $changedDate;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #date #format #php
ADD COMMENT
Topic
Name
6+5 =