datetime sql format DD/MM/YYYY HH:MM code example
Example 1: php date format dd/mm/yyyy
date("d/m/Y", strtotime($str));
Example 2: c# datetime dd/mm/yyy hh:mm:ss
DateTime.Now.ToString("dd'/'MM'/'yyyy HH:mm:ss")
//output: 13/06/2020 13:05:21
date("d/m/Y", strtotime($str));
DateTime.Now.ToString("dd'/'MM'/'yyyy HH:mm:ss")
//output: 13/06/2020 13:05:21