How can I convert a date field into a specific format?

How can I convert a date field into a specific format?

//Get value from the Trans Date field
var date=$CS.getValue("ServiceReq_5701_UDF_DATE1");

The resulting variable produces ex. Sat Jan 20 2018 13:53:00 GMT-0500 (Eastern Standard Time)

How can I change the format of this output?
For example
01/20/2018
13:53

Thanks,
Adam

                  New to ADSelfService Plus?