Piecewise

Build chat bots with blocks

⏰ create date in (timezone) with year (year) month (month) day (day) hours (hours) minutes (minutes) seconds (seconds)

In the toolbox

Create a date to specifications in the server’s timezone, the specified timezone, or UTC/GMT.

Parameters

Parameter name Parameter type Required? Description
timezone any The timezone to use to create this date.
year Number The year.
month Number The month.
day Number The day.
hours Number The hours.
minutes Number The minutes.
seconds Number The seconds.

Output

date - The date, created to specifications.