---
schema_version: "1"
id: 1fefaf568760af806218871a80d7400ed7657bc1c0390ebfd31b2b0dee5b6083
title: MILLISECOND
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_millisecond.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_millisecond.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6fd4638ecc1b17ad8ab8aaa1fda461414e3ceffa51e0280800ae91383e9d7e88
description: Returns a milliseconds value in the form of a number from 0 through 999.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# MILLISECOND

Returns a milliseconds value in the form of a number from 0 through 999.

## Use

`MILLISECOND(time)` and replace time with a time value or value such as `TIMENOW()`.

![Formula Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

Formula Example `MILLISECOND(TIMEVALUE(ClosedDate))` displays only the milliseconds in a time field based on the value of the Time Closed field.

`MILLISECOND(TIMEVALUE("17:30:45.125"))` returns 125.