functional-google-cloud
Version:
Google Cloud Utilities functions in Functional Programming Style
13 lines • 358 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getUnixTimestampIn = void 0;
/**
* ```haskell
* getUnixTimestampInMinutes :: Int -> Int
* ```
*/
exports.getUnixTimestampIn = (seconds) => {
const secondsInMs = seconds * 1000;
return Date.now() + secondsInMs;
};
//# sourceMappingURL=DateTime.js.map