Hello Friends!
I want to show current day and time(HH:MM) with AM/PM on my page. How to achieve this task in JQUERY. I have done above thing using JAVASCRIPT but I just want to know how to do this task in JQUERY easily as per the require.
Thank You!
Hello Friends!
I want to show current day and time(HH:MM) with AM/PM on my page. How to achieve this task in JQUERY. I have done above thing using JAVASCRIPT but I just want to know how to do this task in JQUERY easily as per the require.
Thank You!
jQuery is just a Javascript library. It doesn't have any special methods for handling dates, so it's no help for you in that aspect.
The only thing that it can help you with is to display the date once you have formatted it into a string. Example:
var formattedDate = SomeMethodToGetTheFormattedDate();
$('#IdOfElementForDisplayingDate').text(formattedDate);