I get the selected date in both the format Thu Oct 14 2010 00:00:00 GMT 0530 (India Standard Time). I want to convert this to a format dd/MM/yyyy. What to do in jQuery?
Thu Oct 14 2010 00:00:00 GMT 0530 (India Standard Time)
dd/MM/yyyy
if you want more powerful date formatting, you can use the date format function written by Stephen Levitan here
var date = dateFormat(new Date("Thu Oct 14 2010 00:00:00 GMT 0530 (India Standard Time)"), 'dd/mm/yyyy');
Source: https://habr.com/ru/post/1770238/More articles:CSS selector style? - cssConvert CVSNT to SVN - svnFind people to work on an Android project - androidImproving Regular Expression Performance - performanceProxy template against overriding - javaIntegration of pajamas with Pinax + Django? - pythonHow to use Facebook API for iOS - iosCan I use Activex with silverlight4? - silverlightIn Magento, how do I show a custom attribute in a product grid ..? - magentoIs this a mistake in NSolve in math? - wolfram-mathematicaAll Articles