Rocky_Mountain_Vending/.pnpm-store/v10/files/82/bf40491d3645141583882a3fd0b079465470e13e16d7c34cfdf61f57803bed3aa4b1ca49af4cc6784ebd8a2534dcd484ebeba7378077b751e05a9c386d6dfa
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

24 lines
557 B
Text

"use strict";
exports.getTime = getTime;
var _index = require("./toDate.cjs");
/**
* @name getTime
* @category Timestamp Helpers
* @summary Get the milliseconds timestamp of the given date.
*
* @description
* Get the milliseconds timestamp of the given date.
*
* @param date - The given date
*
* @returns The timestamp
*
* @example
* // Get the timestamp of 29 February 2012 11:45:05.123:
* const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123))
* //=> 1330515905123
*/
function getTime(date) {
return +(0, _index.toDate)(date);
}