【構文例】
Msgbox = Format(now() ,"yyyy-mm-dd")
※NOW()は、「2015/07/02 15:20:30」である。
【結果】
「2015-07-02」等
【他の記述例】
・前ゼロ
MsgBox Format(wk, "0000000")