Learn MORE JavaScript on the ServiceNow Platform: Lesson 5 - Date and Time

preview_player
Показать описание
In this lesson we are learning about JavaScript's built in Date object so that we can play around with time!

00:00 Intro
00:49 Basics of Date
02:25 Add 1 to months!
03:04 Setting the date
03:47 toLocaleDateString

Full transcript is available via closed captions on the YouTube player.

Рекомендации по теме
Комментарии
Автор

When executing on the server the session (or system) user‘s locale dictates the timezone, not the browser setting.

SaschaWildgrube
Автор

Thank you, Earl! Do you have any advice when someone might want to use ServiceNow's GlideDate instead of JavaScript's Date class, and perhaps some comment on their differences?

chughes
join shbcf.ru