Skip to main content
Module

x/grammy_conversations/mod.ts>ConversationHandle#now

Conversational interfaces for grammY
Go to Latest
method ConversationHandle.prototype.now
import { ConversationHandle } from "https://deno.land/x/grammy_conversations@v1.1.1/mod.ts";

Safely gets the value of Date.now(). You should use this instead of Date.now() in your conversation because the time value changes continuously, which may lead to unpredictable and non-deterministic behavior.