Output PHP Mysql Date format to ISO 8601 with "T" sign only -


i datetime formatted specific way. can in mysql or need in php?

this output mysql :

2016-01-30 23:21:46 

i need formatted in (similar not same) fashion:

2016-01-30t23:21:46 

is there php function handle correctly or possible change mysql?

you use insert():

select insert(<whatever>, 11, 1, 't') 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -