I have converted my database from mysql to SQL server and working on exploding date and time. I am getting error: explode() expects parameter 2 to be string, This i
explode() expects parameter 2 to be string,
try this one:
explode(":", $r['time']->format("H:i:s"));