javascript strftime

Solutions on MaxInterview for javascript strftime by the best coders in the world

showing results for - "javascript strftime"
Amir
10 Apr 2016
1Arguments of toLocaleString method can also configure the format of the dates. This is supported in modern browser versions,
2you can see more information here:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString#browser_compatibility.
3
4let date = new Date(Date.UTC(2015, 5, 27, 12, 0, 0))
5, options = {weekday: 'short', month: 'short', day: 'numeric' };
6console.log(date.toLocaleString('es-ES', options)); //sáb. 27 de jun.
similar questions
queries leading to this page
javascript strftime