Some usage examples: console.log('Date set to:', bikram_sambat_bootstrap.getDate_greg($('.bikram-sambat-input-group')));