8.89. today 本日の日付

  • 書式1: today()

本日の日付を日付型で返す。

利用例

importと入力データ(CSV)の準備

1import nysol.mcmd as nm
2
3with open('dat1.csv','w') as f:
4  f.write(
5'''id
61
72
8''')

基本例

1nm.mcal(c='today()', a='rsl', i="dat1.csv", o="rsl1.csv").run()
2### rsl1.csv の内容
3# id,rsl
4# 1,20180920
5# 2,20180920