Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

boyjarv's avatar

How can I get day from a date string?

Ok so I am console logging: created on: 2021-10-25T13:46:14.787Z

this.created_on = response.body.data.api_response.body.redirect_flows.created_at;
                    console.log('created on:', this.created_on)

I just want to get:

25
0 likes
2 replies

Please or to participate in this conversation.