ruby -e 'p Time.local(2019,11,10).wday'
とか?