Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

date

number date(year,month,dayOfMonth,timeZone)

Returns a timestamp for midnight at the date in the timeZone.

Note! Months are 0-11, not 1-12.

Parameters

  1. year — a year.
  2. month — month, 0-11.
  3. dayOfMonth — day of month, 1-31.
  4. timeZone — optional time zone of resulting timestamp, defaults is the current time zone.

Returns

  • the timestamp of the date.
Note! This documentation is also accessible within the app from Help & feedback menu.