Hello friends,
Create a html file paste the following code in <script></script> tag
You have all the items day,date and year. You can concatenate the way you want.
If you have observed month is added +1 that's because in javascript month range is (0-11) and in actual we have 12 months.
Month range(0-11)
Date range(1-31)
Week range(0-6)
Create a html file paste the following code in <script></script> tag
You have all the items day,date and year. You can concatenate the way you want.
If you have observed month is added +1 that's because in javascript month range is (0-11) and in actual we have 12 months.
Month range(0-11)
Date range(1-31)
Week range(0-6)
No comments:
Post a Comment