[jQuery] convert single digit day to double digit day
[jQuery] convert single digit day to double digit day
Hello, I am wondering if someone can share a good clean way of converting a single digit day to a double digit day. For example, I have date1 = 5 and I want that to be 05. Thanks in advance Peter