Trying to convert first column in a csv file from unix timestamp to date(year-month format)
Tried date -d @number'+%Y-%m'
and awk
, but awk
doesn't recognize @ when used together
Extract from a csv file :
1556113878,60662402644292
1554090396,59547403093308
Expected O/p
2019-04,60662402644292
2019-03,59547403093308