Native jQuery date format

Native jQuery date format

Hi,

Is it possible to format a date without having to use a pluging? I mean native jquery only?

I want to get the current date in ddmmyyyy..

for example:

  • 21122017
  • 01072017

Thanks,