combine date time php

Solutions on MaxInterview for combine date time php by the best coders in the world

showing results for - "combine date time php"
Bonquesha
05 Mar 2018
1$start_y = 2020;
2$start_m = 11;
3$start_d = 23;
4
5$date = $start_y . "-" . str_pad($start_m, 2, "0", STR_PAD_LEFT) . "-" . str_pad($start_d, 2, "0", STR_PAD_LEFT);
6