UNPKG

netstorage

Version:

A TypeScript API and CLI for the Akamai NetStorage REST interface

8 lines (7 loc) 297 B
/** * Convert a Unix timestamp (in seconds) into a formatted UTC datetime string. * * @param unixSeconds - Unix timestamp as a number or string. * @returns Formatted datetime string in 'YYYY-MM-DD HH:mm:ss' (UTC). */ export declare function formatMtime(unixSeconds: string | number): string;