Date methods and properties.


Date functions are provided to represent dates without a time.

Instance properties

Method Description

Get the day-of-month.

Get the day-of-week.

Get the day-of-year.

Get the Date month.

Get the Date year.

Static methods

Method Description

Construct a Date from a date String.

Construct a Date from a date String.

Get the current UTC Date.

Instance methods

Method Description

Add number of days to a Date.

Get the difference between two dates.

Subtract number of days from a Date.

Convert a Date to a String.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email

Thank you for your feedback!