VIEW MORE ARTICLES
Rinas Writes
May 05, 2022
TIL in Javascript, Date `getMonth()` does not give the correct month as we expect 🤯
today = new Date() Thu May 05 2022 19:28:34 GMT+0530 (India Standard Time) today.getMonth() 4
what! it should be 5 (May!)
looks like the return values are from 0 to 11
so for now we'll have to do today.getMonth() + 1 to get correct month value
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth#return_value
Recent writings
TIL: How to create new session in tmux and use ...
To create a new session in tmux tmux new -s sessionname Detach from the session crtl + b and then...
March 12, 2025
My remote work schedule
I have been working remotely for more than 5 years now. My work schedule had changed throughout ...
March 04, 2025
2025 is the year I'm going minimalist.
Sorry that's all I can share. (being a minimalist, you know... get it?) Joke aside, I have been...
January 17, 2025
Hello 2025, give me these:
Personal Health is my #1 priority this year, both mental and physical: • Go out for a walk and ...
January 07, 2025