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#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -