SQLite Date Functions

Savigo
You organize your data. Now organize your savings.
Set savings goals, track your progress, and stay on course.
Get Savigo for iPhone 

This section provides the SQLite date and time functions that help you effectively manipulate date and time data values.

NameDescription
DATECalculate a date value based on multiple date modifiers.
TIMECalculate a time value based on multiple date modifiers.
DATETIMECalculate a date & time value based on one or more date modifiers.
JULIANDAYConvert dates and times to Julian day numbers.
UNIXEPOCHReturn a unix timestamp of a date or datetime value.
STRFTIMEFormat a date value based on a specified format string.
CURRENT_TIMESTAMPReturn the current date and time in UTC as a string with the format YYYY-MM-DD HH:MM:SS.
CURRENT_DATEReturn the current date in UTC as a string with the format YYYY-MM-DD.
CURRENT_TIMEReturn the current time in UTC as a string with the format HH:MM:SS.

Was this tutorial helpful?