[date.unix]

date.unix is a slot in the date namespace, in Hyperlambda, the language of Magic Cloud. Returns the current UTC time as a Unix timestamp.

  • Returns: Resolves to the current UTC Unix timestamp in milliseconds

Guide: How to use [date.unix]

JSON declaration

This is the complete declaration of date.unix, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "date.unix",
  "description": "Returns the current UTC time as a Unix timestamp",
  "signature": {
    "output": {
      "mode": "Value",
      "kind": "unix-timestamp,integer,number",
      "description": "Resolves to the current UTC Unix timestamp in milliseconds"
    }
  }
}

← date.now all date.* slots