$SQLstatement = «ENDSQL INSERT INTO table (datetime) VALUES ('FROM_UNIXTIME($time)') ENDSQL