Rocky_Mountain_Vending/.pnpm-store/v10/files/94/b3a82dab705cb217b9a089590d235c12b6d89f7e9a226c6c7bf91dbf7a4ed146215903ffd0cf200a0c09c6fcc37aad713c3fc317e8a99dadad8401ae47286c
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

25 lines
600 B
Text

import { toDate } from "./toDate.js";
/**
* @name getMilliseconds
* @category Millisecond Helpers
* @summary Get the milliseconds of the given date.
*
* @description
* Get the milliseconds of the given date.
*
* @param date - The given date
*
* @returns The milliseconds
*
* @example
* // Get the milliseconds of 29 February 2012 11:45:05.123:
* const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123))
* //=> 123
*/
export function getMilliseconds(date) {
return toDate(date).getMilliseconds();
}
// Fallback for modularized imports:
export default getMilliseconds;