Date Formatting | Mike Bostock | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Mike Bostock
@mbostock
Visualization toolmaker. Founder
@observablehq
. Creator
@d3
. Former
@nytgraphics
. Pronounced BOSS-tock.
Comments (3)
jarakama
Oct 27, 2020
I would like to change from Spanish typa data to EEUU type data into a object. How can I do it? Thanks in advance!
Mike Bostock
Mar 30, 2021
You can pass a locale string as the first argument.
Reply
quackas
Dec 13, 2021
Is there an easy way to use this format and not get the time with it? Just the y-m-d?
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
13
Follow
Follow
Date Formatting | Mike Bostock | Observable