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

Expression for Timestamp doesn't work in 8.4

SOLVED
Regular Member

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

Re: Expression for Timestamp doesn't work in 8.4

Try this instead : 

"Output = new Date();"

and change the Output type to string.

4 REPLIES 4

Re: Expression for Timestamp doesn't work in 8.4

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

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

Re: Expression for Timestamp doesn't work in 8.4

Unfortunately that does'nt work either.

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

Re: Expression for Timestamp doesn't work in 8.4

Try this instead : 

"Output = new Date();"

and change the Output type to string.

Re: Expression for Timestamp doesn't work in 8.4

Output type string does work, thanks!

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