How can I access the date from an object (new Time('+1 day') ? ) |
Hello colleagues !
Unable to access "date" from new Time ('+ 1 day'). I try with this code: Code: $myTime = new Time('+1 day'); CodeIgniter\I18n\Time Object ( [timezone:protected] => DateTimeZone Object ( [timezone_type] => 3 [timezone] => Europe/Sofia ) [locale:protected] => bg [toStringFormat:protected] => yyyy-MM-dd HH:mm ![]() [date] => 2021-06-23 15:39:19.000000 [timezone_type] => 3 [timezone] => Europe/Sofia ) |
Messages In This Thread |
How can I access the date from an object (new Time('+1 day') ? ) - by Steven Dev - 06-22-2021, 05:41 AM
RE: How can I access the date from an object (new Time('+1 day') ? ) - by php_rocs - 06-22-2021, 06:55 AM
RE: How can I access the date from an object (new Time('+1 day') ? ) - by Steven Dev - 06-22-2021, 08:58 AM
|