Hello, welcome to therichpost.com. In this post, I will tell you Get today date with jquery. I personally like jquery very much. Most of my code is full with jquery. When I stuck in php or other language then that stuckness I remove with jquery code.
In my starting career, I learned jquery first.
Here is the working and testing code to get today date in jquery or javascript:
var currentDate = new Date()
var day = currentDate.getDate()
var month = currentDate.getMonth() + 1
var year = currentDate.getFullYear()
var todaydate=month + “/” + day + “/” + “/” + year
alert(todaydate);
There are so many jquery code, tricks and i will let you know all. Please do comment if you any query related to this post. Thank you. Therichpost.com

Leave a Reply
You must be logged in to post a comment.