Skip to main content
1-Visitor
July 15, 2019
Solved

Expression for Timestamp doesn't work in 8.4

  • July 15, 2019
  • 4 replies
  • 1983 views

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 ? 

 

Best answer by ErrHud

Try this instead : 

"Output = new Date();"

and change the Output type to string.

4 replies

17-Peridot
July 15, 2019

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

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

ninja1-VisitorAuthor
1-Visitor
July 15, 2019

Unfortunately that does'nt work either.

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

ErrHud1-VisitorAnswer
1-Visitor
July 15, 2019

Try this instead : 

"Output = new Date();"

and change the Output type to string.

ninja1-VisitorAuthor
1-Visitor
July 16, 2019

Output type string does work, thanks!

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