DateTime.Now in Application Studio

Anyone know how to set a value or compare a value to a DateTime.Now in application studio?

I would like to set this variable to the DateTime.Now value, but off course this way it doesn’t work.
@hmwillett ? :slight_smile:

That expression field is JavaScript.
Try Date.Now() Scratch that.

Thanks for the quick reply. Tried that as well, but I get the following message:

Ah yeah, that definitely brings me closer. It now does something with a getTime :smiley:
Still one thing to fix

Instead of JS, set the value to this instead: “{Constant.Today}”


You’re right. That’s way more easy! Thanks alot!