Kevin Powell - CommunityKP-C
Kevin Powell - Community3y ago
11 replies
Malik

Date part to milliseconds.

I've this time 2023-05-25T11:18:45.752Z . How do I get only the date part and change it to milliseconds. I know I can change the whole datetime to seconds by
const date = new Date().getTime();

But this takes the full datetime.
Was this page helpful?