Date and Time

unixTime(maxTimestamp)

Output Type: Integer

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    "unixTime": "unixTime"
}

iso8601(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    "iso8601": "iso8601"
}

date(dateFormat, maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

dateFormat

String

"Y-m-d"

Any supported Date and Time Formats. Eg. "m.d.Y" | "m-d-Y" | "l jS \of F Y h:i:s A"

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    "date": "date"
}

time(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    	"time": "time"
}

amPm(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    	"amPm": "amPm"
}

dayOfMonth(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    "dayOfMonth": "dayOfMonth"
}

dayOfWeek(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
     "dayOfWeek": "dayOfWeek",
}

month(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    "month": "month"
}

monthName(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    "monthName": "monthName"
}

year(maxTimestamp)

Output Type: String

Argument

Type

Default

Valid Values

maxTimestamp

String

"now"

Any supported Date and Time Formats. Eg: '2008-04-25 08:37:17' | 'yesterday' | 'thursday' | '+5 weeks'

{
    "year": "year"
}

century

Output Type: String

{
    "century": "century"
}

timezone

Output Type: String

{
    "timezone": "timezone"
}

Last updated

Was this helpful?