Lodol Docs

Datetime by Lodol

API actions for the Datetime by Lodol integration.

Datetime by Lodol

Manipulate dates and times using Lodol's built-in Datetime provider.


Is holiday

Check if a date falls on a public holiday.

Parameters

ParameterTypeRequiredDescription
datestringYesDate in ISO 8601 format (e.g. 2025-12-25).
regionstringNoTwo-letter country code (e.g. US, GB). Defaults to US.

Response

{
  "status": "success"
}

Now

Now() returns the current UTC date and time as an ISO-8601 string.

Response

{
  "status": "success"
}

Time until date

Calculate seconds remaining until a future date.

Parameters

ParameterTypeRequiredDescription
datestringYesTarget date/time in ISO 8601 format (e.g. 2025-12-31T23:59:59Z).

Response

{
  "status": "success"
}

Today

Today() returns the current local date in YYYY-MM-DD format.

Response

{
  "status": "success"
}

Tomorrow

Tomorrow() returns the next local date in YYYY-MM-DD format.

Response

{
  "status": "success"
}

Weekday name

Get the day-of-week name for a date (e.g. Monday).

Parameters

ParameterTypeRequiredDescription
datestringYesDate in ISO 8601 format (e.g. 2025-06-15). Returns the weekday name, e.g. Sunday.

Response

{
  "status": "success"
}

Yesterday

Yesterday() returns the previous local date in YYYY-MM-DD format.

Response

{
  "status": "success"
}

On this page