Translations:Manual:Database.php/24/en

Convert a timestamp in one of the formats accepted by wfTimestamp to the format used for inserting into timestamp fields in this DBMS. The result is unquoted, and needs to be passed through addQuotes before it can be included in raw SQL.