Today is 2020-10-03 in Malaysia. When I run the following code to get the first day of the current month, it gives me 2020-09-30 instead of 2020-
2020-10-03
2020-09-30
2020-