Unire Bot Libre di Partner e di Affiliazione programma di e sostenere la nostra connessione piattaforma aperta
Help

settimezone doesn't work

da zhangzhenslamdunk postato Apr 13 2018, 20:05

it always shows the time of GMT+0


by admin posted Apr 14 2018, 11:19
To set the timezone for a date or timestamp us setTimeZone.
Pass a timezone code such as "GMT", "GMT-5", "PST", "America/Los_Angeles".
var today = Date.timestamp(); today = Date.setTimeZone(today, "GMT");


By default dates will be in ET (North America Eastern Time/New York)
What code are you using, and what result do you get?

Updated: Apr 14 2018, 11:20
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1777, today: 1, week: 3, month: 14

Id: 21835448
Postato: Apr 13 2018, 20:05
Risposte: 1
Vista: 1883, oggi: 2, settimana: 2, mese: 14
0 0 0.0/5