Answers for "convert date mm/dd/yyyy C#"

PHP
2

php convert date from dd/mm/yyyy to yyyy-mm-dd

$date = DateTime::createFromFormat('d/m/Y', "24/04/2012");
echo $date->format('Y-m-d');
Posted by: Guest on September-14-2020
0

c# datetime dd/mm/yyy hh:mm:ss

DateTime.Now.ToString("dd'/'MM'/'yyyy HH:mm:ss")
 //output: 13/06/2020 13:05:21
Posted by: Guest on June-13-2020

Code answers related to "convert date mm/dd/yyyy C#"

Browse Popular Code Answers by Language