Need date from yesterday

Hi!
I need in a variable the actuate date from yesterday.
How can I do this.

The actual date I will get with
image

Hope someone can help me.
kindly regards

Can you say more briefly

my preferred method:

4 Likes

Can you say why you are subtracting 86400000

It is the number of milliseconds in a day (24 hours)

24 * 60 * 60 * 1000

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.