Will the MySQL datetime format work with SQLite and PostgreSQL? -


in mysql enter dates (datetime field) in format 2009-10-16 21:30:45. makes simple insert times database.

$date = date('y-m-d h:i:s', $timestamp); 

will format work sqlite , postgresql? if not, format use?

sqlite uses several date formats; postgresql uses similar formats , more.

both understand yyyy-mm-dd hh:mm:ss.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -