Is it possible to create a JavaScript function that returns unix timestamp of beginning of the day for a given date and timezone ? If yes how ?
Eg –
getMidnightTimestamp('2023-04-10','Australia/Sydney');
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Is it possible to create a JavaScript function that returns unix timestamp of beginning of the day for a given date and timezone ? If yes how ?
Eg –
getMidnightTimestamp('2023-04-10','Australia/Sydney');