Date
|
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
Date( str )
date( str )
Date( str )
Date( str )
Date( str )
Date( str )
Description
The Date function constructs a Date from an ISO 8601
formatted date string.
Date only accepts a date string. An error occurs if you
include any time information.
|
ISO 8601 dates
Date uses Java’s Date/Time API which understands a subset of the
ISO 8601 standard. Not all date strings that are ISO 8601-compliant can
be parsed.
The template for dates is yyyy-MM-dd, where:
-
yyyyrepresents the year -
MMrepresents the month, from00to12 -
ddrepresents the day, from00to31