we can fetch current date and time using controller Jquery and Ajax response. Here we use date function and give some format of the date i want and pass the result via json to the ajax and finally you can see the format.