DateTimeToSQLDateTime function
MySQL String routines
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
function DateTimeToSQLDateTime(const Value: TDateTime): String;  

Description
Converts TDateTime value to SQL date/time format (YYYY-MM-DD HH:MM:SS).  

See also
SQLDateTimeToDateTime, DateTimeToSQLDateTime, DateTimeToSQLDate and DateTimeToSQLTime functions.