mysql create function pengujian date now() code example Example: mysql current date SELECT NOW(); It returns current date and time.