// Returns the current date in "YYYY-MM-DD" format
date('Y-m-d');

// Returns the current date and time in "YYYY-MM-DD HH:MM:SS" format
date('Y-m-d H:i:s');