Narwhals Playing Mahjong

    get-utc-date
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    utc-date Build Status npm npm version

    Get JavaScript Date in UTC timezone (reliably)

    This package is not for everybody.

    Its emphasis is on convenience and portability, not size.

    Install

    npm install @hamroctopus/utc-date

    Use

    import { utcDate } from 'utc-date'
    console.log(utcDate())

    Index

    Functions


    Functions

    utcDate

    utcDate(): Date

    Defined in utc-date.ts:12

    Get current date in UTC timezone.

    Returns: Date


    Keywords

    Install

    npm i get-utc-date

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    12.2 kB

    Total Files

    10

    Last publish

    Collaborators

    • hamroctopus