Methods 1 string concatenation
Var date=new date ();
Var STR=date. GetFullYear () + '-' + (date, getMonth () + 1) + '-' + date. The getDate () + "+ date. GetHours () +" : "+ date. GetMinutes () +" : "+ date. GetSeconds ();
1
2
CodePudding user response:
OhCodePudding user response:
General data is not on the front end, but rather in the back-end database server,How to display, in the back-end application can set, can use json or other way, is basically a string,
Front end that you deal with it, of course,