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
Post a Comment