[time.total-milliseconds]

time.total-milliseconds is a slot in the time namespace, in Hyperlambda, the language of Magic Cloud. Returns the total milliseconds for a TimeSpan value.

  • Value (timespan), required: Time span to measure
  • Returns: Resolves to the total number of milliseconds in the supplied time span

Guide: How to use [time.total-milliseconds]

JSON declaration

This is the complete declaration of time.total-milliseconds, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "time.total-milliseconds",
  "description": "Returns the total milliseconds for a TimeSpan value",
  "signature": {
    "input": {
      "kind": "timespan",
      "description": "Time span to measure",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "duration-ms,number",
      "description": "Resolves to the total number of milliseconds in the supplied time span"
    }
  }
}

← time.format all time.* slots