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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Expression for Timestamp doesn't work in 8.4

ninja
8-Gravel

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 ? 

 

ACCEPTED SOLUTION

Accepted Solutions
ErrHud
12-Amethyst
(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
8-Gravel
(To:PEHOWE)

Unfortunately that does'nt work either.

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

ErrHud
12-Amethyst
(To:ninja)

Try this instead : 

"Output = new Date();"

and change the Output type to string.

ninja
8-Gravel
(To:ErrHud)

Output type string does work, thanks!

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

Announcements


Top Tags