I am trying to write a painless script code where I got a date in the format like: Fri Aug 16 11:20:43 EDT 2019, but all I need is only like this ( 8/16/19 ).
I am using "new Date() " in my script which resides in html, something which looks like below
op+="Yesterday's Service usage date:" + new Date()+ "";
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.