Name

date() — Decode time string into date

Common Usage

date( timestring, modifier, ... )

Description

The date() function takes a timestring value plus zero or more modifier values and returns a text value in the format YYYY-MM-DD. It is equivalent to the call strftime( '%Y-%m-%d', timestring, ... ).

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.