Date and time

An overview of date- and time-related functions

To return the number of full years between now and a given date (e.g. a person’s age)

To convert given time-related values to an appointment

To create an event in the Apple Calendar App

To create a reminder in the Apple Calendar App

To convert to or return a date value

To convert to or return a timestamp

To return the day of the month from a given date value as a number

To return the number of days between 2 dates

To return the duration of an appointment

To return the end of an appointment.

To format a given value

To return the month from a date value as a number

To return a given month as a number out of a string

To return the full month name of a given date value

To return the current timestamp

To return the quarter of a given date value as a number

To return the start timestamp of an appointment

To return the current time

To convert a given time-related value to a time interval, i.e. a duration

To convert a given time-related value to a timestamp

To return the current date (without time).

To return the calendar week of a given date value

To return the weekday of a given date value as a number

To return a given weekday name as a number

To return the full weekday name of a given date value

To return the number of working days between 2 given dates

To return the year of a given date value.

To return the month and the year of a given date value

To return the quarter and the year of a given date value

To return the week and the year of a given date value

Last updated