現在の日付と時刻
関数dateは、本日の日付を文字で出力します。
date
date ans = 02-Oct-1996
関数nowは、現在の日付と時刻を連続日付番号を出力します。
now
now ans = 729300.71 datestr(now) ans = 02-Oct-1996 16:56:16 datestr(floor(now)) ans = 02-Oct-1996