Swapna Kumar Panda Profile picture
Mar 3, 2022 9 tweets 3 min read Read on X
5 "Must-Know" Date Input Types in HTML

There are 5 input types which allow user to enter/pick date, time, week, month, year etc.

➊ datetime-local
➋ date
➌ time
➍ week
➎ month
➊ datetime-local

⬒ Use this input type if requirement is to pick both "date" and "time" (independent of any timezone).

⬓ We can use 2 other attributes to define the limit restrictions and step values.

❍ min
❍ max
❍ step <input type="datetime-local" >
➋ date

⬒ Use this input type if requirement is to pick only "date".

⬓ We can use 2 other attributes to define the limit restrictions and step values.

❍ min
❍ max
❍ step
➌ time

⬒ Use this input type if requirement is to pick only "time" (independent of any timezone).

⬓ We can use 2 other attributes to define the limit restrictions and step values.

❍ min
❍ max
❍ step
➍ week

⬒ Use this input type if requirement is to pick "week" and "year".

⬔ The "week" is a ISO 8601 week number during that year (i.e., week 1 to 52/53).

⬓ We can use 2 other attributes to define the limit restrictions and step values.

❍ min
❍ max
❍ step
➎ month

⬒ Use this input type if requirement is to pick "month" and "year".

⬔ The value is a string whose value is in the format "YYYY-MM".

⬓ We can use 2 other attributes to define the limit restrictions and step values.

❍ min
❍ max
❍ step
⚠️ Warning ⚠️

⬘ The UI for all these input types varies from browser to browser.

⬗ Even few browsers still do not support these entirely.

⬙ Before using these, check for the browser compatibility.

⬖ As an alternative, you can use some external component library.
End of 🧵

Are you interested in Web Development? I am sharing contents regularly on HTML, CSS, JavaScript, React and Node.js.

To never miss any in future, Follow Me ✅

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Swapna Kumar Panda

Swapna Kumar Panda Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @swapnakpanda

Jan 29
AI/ML Courses from Stanford (ALL FREE):

❯ CS221 - Artificial Intelligence
❯ CS229 - Machine Learning
❯ CS230 - Deep Learning
❯ CS234 - Reinforcement Learning
❯ CS231N - Deep Learning for CV
❯ CS336 - LLM from Scratch

Course links inside 👇Image
Image
Image
Image
1. CS229 - Machine Learning

- By Andrew Ng

🖇 youtube.com/playlist?list=…Image
2. CS230 - Deep Learning

- 2025 (Ongoing)
- By Andrew Ng

🖇 youtube.com/playlist?list=…Image
Read 12 tweets
Jan 4
Stanford's ALL FREE Courses (AI & ML):

❯ CS221 - Artificial Intelligence
❯ CS229 - Machine Learning
❯ CS230 - Deep Learning
❯ CS234 - Reinforcement Learning
❯ CS336 - LLM from Scratch
❯ CS224N - NLP with Deep Learning

Course links inside 👇Image
Image
Image
Image
1. CS229 - Machine Learning

- By Andrew Ng

🖇 youtube.com/playlist?list=…Image
2. CS230 - Deep Learning

- 2025 (Ongoing)
- By Andrew Ng

🖇 youtube.com/playlist?list=…Image
Read 12 tweets
Dec 26, 2025
Best skills to build in 2026: AI & ML

Here's a complete roadmap + all free resources:Image
1. Python

Time: January

Focus on Python programming and basic data structures.

⬙ Detailed Roadmap
x.com/swapnakpanda/s…

⬗ Free Books
❯ Think Python (O'Reilly)
allendowney.github.io/ThinkPython/

❯ Introduction to Programming with Python
aupress.ca/books/oer-2023…

❯ Introduction to Python Programming
assets.openstax.org/oscms-prodcms/…

⬘ Free Course - Harvard CS50
cs50.harvard.edu/python/

⬖ YouTube Courses
❯ MIT Full Course for Beginners
youtube.com/playlist?list=…

❯ Python for Everybody (freeCodeCamp)
youtube.com/watch?v=8Dvywo…Image
2. Mathematics

Time: February & March

➤ Key Topics
✩ Linear Algebra
✩ Single and Multivariable Calculus
✩ Probability & Statistics

⬙ Free Books
❯ Mathematics for Machine Learning
mml-book.github.io/book/mml-book.…

❯ Mathematics for Machine Learning (UC Berkeley)
gwthomas.github.io/docs/math4ml.p…

⬗ More Free Books
x.com/swapnakpanda/s…

⬘ Free Course - Khan Academy
❯ Linear Algebra
khanacademy.org/math/linear-al…

❯ Probability & Stats
khanacademy.org/math/statistic…

⬖ YouTube
youtube.com/@JonKrohnLearnsImage
Read 10 tweets
Dec 25, 2025
11 Python Books for FREE on this Christmas Eve 🎄

Enjoy...Image
Image
Image
Image
2. Clean Code in Python

Publisher: Packt

🎄 packtpub.com/free-ebook/cle…Image
Read 12 tweets
Dec 12, 2025
Stanford's FREE Courses on AI & ML:

❯ CS221 - Artificial Intelligence
❯ CS229 - Machine Learning
❯ CS230 - Deep Learning
❯ CS234 - Reinforcement Learning
❯ CS336 - LLM from Scratch
❯ CS224N - NLP with Deep Learning

All 11 course links inside:
1. CS221 - Artificial Intelligence

🖇 youtube.com/playlist?list=…Image
2. CS229 - Machine Learning

- By Andrew Ng

🖇 youtube.com/playlist?list=…Image
Read 12 tweets
Dec 7, 2025
SITES YOU MUST BOOKMARK FOREVER!!! Image
1. Python, AI & ML, Data Science

❯ Python ➟ realpython.com
❯ Python ➟ fullstackpython.com
❯ Python ➟ planetpython.org

❯ Django ➟ learndjango.com

❯ Flask ➟ blog.miguelgrinberg.com/post/the-flask…

❯ FastAPI ➟ fastapi.tiangolo.com/learn/

❯ Machine Learning ➟ developers.google.com/machine-learni…

❯ Machine Learning ➟ tensorflow.org/resources/lear…

❯ Tensorflow ➟ tensorflow.org/learn

❯ Data Science ➟ towardsdatascience.comImage
2. JavaScript, React, Next, Node.js, Express.js

❯ JavaScript ➟ javascript.info
❯ JavaScript ➟ web.dev/javascript
❯ JavaScript ➟ developer.mozilla.org/en-US/docs/Lea…
❯ JavaScript ➟ theodinproject.com/paths/full-sta…

❯ Node.js ➟ nodejs.org/learn/
❯ Node.js ➟ theodinproject.com/paths/full-sta…

❯ Express.js ➟ developer.mozilla.org/en-US/docs/Lea…
❯ Express.js ➟ expressjs.com/en/starter/ins…

❯ React ➟ scrimba.com/learn-react-c0e
❯ React ➟ theodinproject.com/paths/full-sta…

❯ Next.js ➟ youtube.com/playlist?list=…Image
Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(