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