date-vir - v7.3.2
    Preparing search index...

    Function getNowInUtcTimezone

    • Get the time right now as a FullDate represented in the UTC timezone.

      Returns {
          day: DayOfMonth;
          hour: Hour;
          millisecond: number;
          minute: Minute;
          month: MonthNumber;
          second: Minute;
          timezone: "UTC";
          year: number;
      }

      • day: DayOfMonth

        A day of the month: 1-31 depending on the month

      • hour: Hour

        Hour of the day in 24 time: 0-23

      • millisecond: number

        Millisecond of the second: 0-999

      • minute: Minute

        Minute of the hour: 0-59

      • month: MonthNumber

        A month of the year: 1-12

      • second: Minute
      • timezone: "UTC"
      • year: number

        The full, four digit year.

        2023;
        
      import {getNowInUtcTimezone} from 'date-vir';

      getNowInUtcTimezone();