Improve this sample solution and post your code through Disqus. however, i try with fiddle but didn’t work? Answer: Use the Date() Object Methods. Week start from Monday.I have used Slice function to add leading zero to month,day when formatting date ... if its javascript and then why $.. i am assuming that its jquery mix isn’t? We will print date in DD/MM/YYYY, MM/DD/YYYY or DD MON YYY format on button clicks. Current year in jQuery getFullYear() return the current year. Previous: Write a JavaScript function to print the contents of the current window. So I have made 14 instead of all 7's. So for example today is Wed 12th of June. Improve this sample solution and post your code through Disqus. I had scenarios where I had to check current date time, this week, this month and this quarters date time. Support the development of JSFiddle and get extra features ... jQuery Mobile 1.2.0 jQuery Mobile 1.3.0b1 jQuery UI 1.9.2 Framework