This article is a reminder that I got stuck in the development of a personally developed Web service.
You can get it using getMonth in here. However, please note that the return value is based on __0, such as January ⇒ 0, February ⇒ 1. Since I usually develop in C #, I thought that the return value was January ⇒ January, February ⇒ 2, and I got into it.
You can get it using getDate in here. In C #, it can be obtained with the DateTime.Day property, so I assumed that it would be obtained using getDay of here. I'm addicted to it. By the way, getDay is a method to get the day of the week.
Recommended Posts