get curdate php code example Example: mysql current date SELECT NOW(); It returns current date and time.