Control the system time used by:
Date.now()new Date()Intl.DateTimeFormat().format()In the future, we may add support for more functions, but we haven't done that yet.
Search the reference...
/
function
Control the system time used by:
Date.now()new Date()Intl.DateTimeFormat().format()In the future, we may add support for more functions, but we haven't done that yet.
The time to set the system time to. If not provided, the system time will be reset.
this
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →