SQLite datetime() function with examples. In sqlite datetime() function is used to get date and time from given string.