time.now0.000001
Gets the current time.
Arguments
no defined arguments
Return Value
The current time, returned as a timestamp.something went wrong :(
Getting the time
Setup
authorization=PROCAUTH
require "proc"
client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.time.now.call
client.time.now.call();
curl "https://proc.run/time/now" --silent --request POST \
--header "authorization: bearer $authorization" \
--header "content-type: text/plain"
1685265071.133753
Timestamps are returned in seconds since the unix epoch, with microsecond precision.
Stuck? Want to chat about an idea? Join the community on Discord.