Getting Yesterday's Date in Date Format in Application Studio

Try this:

'{Constant.Yesterday}'.split('.')[0]

That should split off everything after the millisecond decimal point, and then returns part [0] which is the first portion (just the date time… without the milliseonds).

1 Like