Skip to main content
Version: 7.9

fromMillis

This function is used by Ignition's Expression language.

Description

Creates a date object given a millisecond value.

Syntax

fromMillis(millis)

  • Parameters

    • int millis - The number of milliseconds from epoch time.
  • Results

    • Date - The date representing the given number of milliseconds since epoch time.

Code Examples

Code Snippet
fromMillis(1503092125000)//This example will print out the date "Fri Aug 18 14:35:25 PDT 2017"