--- type: "fhirpath-function" title: "FHIRPath Function: millisecondOf" function: "millisecondOf" category: "Utility functions" section: "5.10.8.7" source: "fhirpath/functions.json" --- # FHIRPath Function: millisecondOf _No canonical section match found in index.md._ ## Summary - **Category**: Utility functions - **Section**: `5.10.8.7` - **Return Type**: `Integer` - **Empty Input Result**: `empty` - **Errors on Multiple Input**: `true` ## Description If the input collection contains a single Date, DateTime or Time, this function will return the millisecond component. ## Arguments - none ## Type Mapping - `Date-Integer` - `DateTime-Integer` - `Time-Integer` ## Example ```fhirpath @2012-01-01T12:30:00.002-07:00.millisecondOf() // 2 ```