--- title: "fromMillis" description: "Creates a date object given a millisecond value." --- # fromMillis > Creates a date object given a millisecond value. **This function is used by Ignition's Expression language.** ## Description Creates a date object given a time, in milliseconds, past Unix epoch (1 January 1970 at midnight UTC). ## Syntax `fromMillis(millis)` ### Parameters | Type | Parameter | Description | |---------|-----------|----------------------------------------------------------| | Integer | `millis` | The number of milliseconds since Unix epoch time (1 January 1970 at midnight UTC). | ### Returns **Date** - A date object representing the given number of milliseconds since epoch time. ## Examples ```python title="Code Snippet" fromMillis(1503092125000)//This example will print out the date "Fri Aug 18 14:35:25 PDT 2017" ```