Any better ways to do this?

dd=: (101 }.@":@+ i.)&.> 31 29 31 30 31 30 31 31 30 31 30 31
mm=: 101 <@}.@":@+ i.12
dates=: '2016-',"1/;mm ([,"1/'-',.])each dd

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to