• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
foliage

foliage

dateWithINATimeZone

Public
Like
dateWithINATimeZone
Home
Code
2
README.md
main.ts
Branches
2
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
/
x
/
foliage
/
dateWithINATimeZone
/
branch
/
main
/
code
/
README.md
/
README.md
Code
/
/
x
/
foliage
/
dateWithINATimeZone
/
branch
/
main
/
code
/
README.md
/
README.md
Search
…
README.md

dateWithWIBTimeZone

by default will return a string of date in GMT, offset with WIB timezone.

required argument: date, can be a string, number (Unix timestamp), or Date instance

optional arguments: timeZone: string (e.g. "Asia/Jakarta"), dateStyle and timeStyle both take the value of "medium", "full", "long", or "short"

usage:

Create val
import { offsetDate } from "https://esm.town/v/foliage/dateWithINATimeZone/main.ts"; const dateInGMT = offsetDate(dateInMyTown);
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.