browser_get_datetime
POST /api/execute/browser_get_datetimeReturns the current calendar date, wall-clock readout, day of the week, ISO-8601 stamp, and active zone from the host environment. The clock readout reflects either the operating system zone or any geographical zone alignment dynamically applied to the runtime environment for anti-detection consistency. Returned fields are broken down into structured components—four-digit year, month number, day of month, weekday name, 24-hour clock string, and UTC offset—alongside standard machine-parsable representations. Querying the host clock requires no active page navigation, network requests, or DOM access, executing instantaneously in memory with zero side effects. Autonomous agents and scheduled workflows query this endpoint to ground relative temporal expressions like 'tomorrow' or 'next Friday' when populating booking calendars, flight search widgets, and date-bounded financial filters.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| /api/execute/browser_get_datetime | json | no | Accepts an empty JSON body for browser_get_datetime. |
Usage
result = await browser.get_datetime()