time.build0.000001
Builds a new time object.
Arguments
no defined arguments
Return Value
The new time object, returned as a timestamp.Builds a time object from the given input. If an undefined or null input is given, the current time is returned.
something went wrong :(
Building a time object
Setup
authorization=PROCAUTH
require "proc"
client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.time.call
client.time.call();
curl "https://proc.run/time" --silent --request POST \
--header "authorization: bearer $authorization" \
--header "content-type: text/plain"
1685270981.208932
Like all value builders time.build
is callable through the root time
proc.
Timestamps are returned in seconds since the unix epoch, with microsecond precision.
Stuck? Want to chat about an idea? Join the community on Discord.