$am = sprintf("%02d", $am);

↑變數   ↑格式化字串 ↑補幾個零 ↑要格式化的變數名稱

arrow
arrow
    全站熱搜

    ying5320 發表在 痞客邦 留言(0) 人氣()