date - How to do a greater than or equal to with moments (moment.js) in javascript? -


basically, want mymoment >= yourmoment. there no mymoment.issameorafter , writing out combining issame , .isafter bit lengthy.

what's alternative? convert moment js date , use >= compare?

you can use issameorafter method in momentjs:

moment1.issameorafter(moment2); 

Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -