javascript: new GlideDateTime().getDate() is populating today's date but not populating the current time. Instead it is populating time as 00:00:00 Please suggest any modifications or any other way in which current time can also be achieved.

Community Alums
Not applicable

javascript: new GlideDateTime().getDate() is populating today's date but not populating the current time. Instead it is populating time as 00:00:00 Please suggest any modifications or any other way in which current time can also be achieved. Please see the attached screenshot.

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

Hi,

javascript:new GlideDateTime().getDisplayValue(); will get the full date/time stamp

View solution in original post

1 REPLY 1

Kieran Anson
Kilo Patron

Hi,

javascript:new GlideDateTime().getDisplayValue(); will get the full date/time stamp