API Reference > bentleyjs-core > Utils > BeDuration > fromMilliseconds fromMilliseconds MethodStatic Create a BeDuration from milliseconds. fromMilliseconds(milliseconds: number): BeDuration Parameter Type Description milliseconds number the number of milliseconds for this BeDuration Returns - BeDuration Defined in core/bentley/src/Time.ts Line 28 Last Updated: 12 June, 2024