const formatTime = d3.timeFormat("%B %d, %Y"); formatTime(new Date); // "June 30, 2015". Likewise, to convert a string back to a date, create a parser:
確定! 回上一頁