Junte o Bot Libre open source projeto BotLibre.org
Help : settimezone doesn't work

RE: settimezone doesn't work

por admin postado 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?


Id: 21847357
Postado: Apr 14 2018, 11:19
Atualizado: Apr 14 2018, 11:20
Respostas: 0
Pontos de vista: 1592, hoje: 1, semana: 1, mês: 1
0 0 0.0/5