67 1
How to convert iso date to date-format JavaScript?

I have received date in ISO format fom server-side, like this '2022-09-25T02:00:00Z' and I would like to convert it to another date format like dd-MM-yyyy or yyyy-MM-dd, then how can I do it using Javascript? I would like to know quick and easy solution.

...
Type
Question
1512 0
Toggle Password input field using Javascript (Show/hide password)
In this article, I have provided working example to show or hide (toggle) password input field using Javascript, with an example.
Type
Article
7423 2
Read PDF file using Javascript
In this article, I have provided example to read content of pdf file using Javascript with code explanation.
Type
Article
77 0
Convert Image to base64 string using Javascript
In this article, I have mentioned few possible ways to convert image to base64 in Javascript (JS) with working examples.
Type
Article
2321 0
Word count using Javascript (jQuery or Pure JS)
This small snippet of code, help you create Word count tool using JavaScript for creating an abstract guideline tool
Type
Article

101 0
Convert seconds to hh:mm:ss using Javascript
In this article, I have mentioned how we can convert seconds into hours/minutes/seconds (hh-mm-ss) using Javascript.
Type
Article
55 1
Error "TypeError: Cannot read property 'classList' of null"

Hello, I am trying when simple code to add datepicker in javascript using below HTML and Javascript Code, but I am getting error "TypeError: Cannot read property 'classList' of null", how can I resolve it?

cannot-read-properties-of-null-reading-classlist-min_sgpbi5.png

HTML/JS Code

...
Type
Question
3057 1
Creating copy to clipboard using Javascript or jQuery
In this article, I have provided sample code with output for how to create copy to clipboard functionality using javascript or jQuery
Type
Article
158 0
String to Number (Int) using Javascript
In this article, I have mentioned various possible methods to convert string to number (integer) using javascript various possible methods.
Type
Article
1722 0
RGB to Hex and Hex to RGB using Javascript
In this article, I have provided sample code to convert RGB to Hex and Hex to RGB using Javascript, quickly and easily.
Type
Article

Page 1 of 11