i use this line to get the current date
public current_date=new Date();
and i have got this result:
Wed Apr 26 2017 10:38:12 GMT+0100 (Afr. centrale Ouest)
how can i transform that to this format
YYYY-MM-DD
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…