cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Expression for Timestamp doesn't work in 8.4

ninja
6-Contributor

Expression for Timestamp doesn't work in 8.4

I need a Timestamp for some of my widgets but the expression does not work anymore in the updated version 8.4.

 

How can i evaluate the datetime in a expression ? Or do i need a service now ? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ErrHud
5-Regular Member
(To:ninja)

Try this instead : 

"Output = new Date();"

and change the Output type to string.

View solution in original post

4 REPLIES 4
PEHOWE
16-Pearl
(To:ninja)

The expression you show in the attached PNG file is:  "new Date();"

try changing the expression to "result = new Date();"

ninja
6-Contributor
(To:PEHOWE)

Unfortunately that does'nt work either.

The Output in the Widget is "not a date..."

ErrHud
5-Regular Member
(To:ninja)

Try this instead : 

"Output = new Date();"

and change the Output type to string.

ninja
6-Contributor
(To:ErrHud)

Output type string does work, thanks!

datetime would be a little bit nicer, but string works for now!

Top Tags