Looking to dynamically create a date string in JavaScript with the following format:
dd-MMM-yyyy
- Need the dd part to change between 1 and 29 each time I generate the variable within a loop
- Month (MMM) should be set as Jan
- Year (yyyy) is always 1999
Any suggestions or advice on how to achieve this would be greatly appreciated. Thank you!