Date validation in javascript

16 views
Skip to first unread message

Eugene TUYIZERE

unread,
Dec 3, 2020, 8:19:02 AM12/3/20
to django...@googlegroups.com
Dear Team,

In my project, I have the date format YYYYMM. How to validate that the MM part cannot exceed 12? I think this can be done in javascript but don't know how. Assist please.

Thank you

--
TUYIZERE Eugene

Msc Degree in Mathematical Science

African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon


Bsc in Computer Science

UR-Nyagatare Campus

Email: eugene....@aims-cameroon.org
           eugenet...@gmail.com

Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38

Avi shah

unread,
Dec 3, 2020, 8:41:19 AM12/3/20
to django...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHvi_hCZ87ezdTvbZpdo3YJSo1qvLs7Hdq4pGP9H46AYcQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages