deno.land / x / next@0.0.2

import * as next from "https://deno.land/x/next@0.0.2/index.ts";

next

Get coming time after input with hour, minute, second, timezone

Usage

import next from 'https://deno.land/x/next@0.0.1/index.ts';

next({ hour: 3, minute: 3, timezone: 6.5}, new Date('Nov 13 2020 03:01:00 GMT+0630'))
//=> 2020-11-12T20:33:00.000Z

API

Return coming time after now with hour, minute, seconds from input

interface Input {
    hour?: number;
    minute?: number;
    second?: number;
    timezone?: number;
}
next(input: Input, now?: Date | number) => Date

input

normal hour, minute, second and timezone

next
Get coming time after input with hour, minute, second, timezone
GitHub Stars
1

Version Info

Tagged at
a year ago

External Dependencies