Answers for "in php using current date time create a string"

PHP
1

create date from string php

$element = '15-Feb-2009';
$date = DateTime::createFromFormat('j-M-Y', $element);
Posted by: Guest on October-22-2020

Code answers related to "in php using current date time create a string"

Browse Popular Code Answers by Language